Giter Site home page Giter Site logo

hughp / python-blogger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theatlantic/python-blogger

0.0 3.0 0.0 117 KB

A fork of python-blogger, a python wrapper around the Blogger, Metaweblog, Wordpress, MovableType API

Home Page: http://code.google.com/p/python-blogger/

License: Other

python-blogger's Introduction

This is a python wrapper around the Metaweblog, Wordpress, and MovableType XML-RPC APIs. It is a fork of the Google Code project python-blogger.

Introduction

This library provides a python interface for the various blogging API. Currently, only Metaweblog and Wordpress are implemented but it will be soon be extended to use MovableType.

Installing/Building

To install with pip from source:

$ pip install git+git://github.com/theatlantic/python-blogger.git

If the source is already checked out, use setuptools:

$ python setup.py install

Using

import pyblog
blog = pyblog.WordPress('http://www.example.com/blog/xmlrpc.api', 'USERNAME', 'PASSWORD')
print blog.get_recent_posts()

All return values are the standard Python based objects returned by xmlrpclib.

Notes

pyblog.MetawWeblog objects implements all metaWeblog API as documented at http://www.xmlrpc.com/metaWeblogApi. The method names are modified to follow python naming conventions, so getRecentPosts() becomes get_recent_posts(). For API calls requiring struct parameter you will have to pass a dictionary with the corresponding key/value pair.

pyblog.Wordpress which extends pyblog.MetaWeblog implements the extra Wordpress XML-RPC methods. Currently, this API library fulfills all the functions provided with Wordpress v2.6

License

Licensed under the Simplified BSD License. View the LICENSE file included with the source for complete license and copyright information.

python-blogger's People

Contributors

fdintino avatar waltercruz avatar

Watchers

HughP avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.