Skip to content

doctor-beans/writefreely-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WriteFreely

A Python package that wraps the WriteFreely API, for use in your Python projects.

Install

pip install writefreely-py

Quick Start

import writefreely as wf

# default WriteFreely instance is 'https://write.as'
c = wf.client(user='foo', password='bar')

# create a post
post = c.create_post(title='Hello World!', body='Hello from **Python**')

print('See your post at: {}/{}'.format(c.host, post['slug']))

# discard current session
c.logout()

Too see what extra parameters some functions accept and response structure, check: https://developers.write.as/docs/api

Examples

Check the examples folder for more code examples.

About

A Python package wrapping the WriteFreely / Write.as API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%