Skip to main content

Post anonymously to write.as

Project description

Write as anon

As simple as possible package to post on write.as.

At current version you can only post as anonymous, and retrieve posts. Update, delete and any other operation are not supported (yet).

Created to learn how to publish package on PyPi

Installation

As simple as:

pip install writeas-anon

Usage

from writeas_anon import post, build_url

text = '''# Hello world!
I've created a simple package called `writeas_anon`. You can find it [here](https://gitlab.com/chgrzegorz/writeas-anon)
I hope you will find this useful 😃'''

post_id = post(text)
print(build_url(post_id))

https://write.as/1mky7cnx4ozq9.m

——————

Change log

[0.1.0] - 2018-11-18

Added

  • get function
  • build_url function

Updated

  • post function returns only post id

[0.0.1] - 2018-11-13

Added

  • post function

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

writeas-anon-0.1.0.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

writeas_anon-0.1.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page