-
Notifications
You must be signed in to change notification settings - Fork 0
A python library for the Qaiku.com API
License
itspluxstahre/py-qaiku
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A python interface against qaiku.com (via JSON) Requires: * Python 2.6 or later * HTTPLib2 * Json * Markdown * urllib This is a library to work with the Qaiku API, it will map everything to python objects to make things easier when embedding this into other applications. Basic Usage: from qaiku import Qaiku qc = Qaiku(api_key="your_uniqe_api_key", source="Your Application Name") message = qc.PostUpdate("Posting messages to qaiku with python is cool!") print message.id Object Comparison: All objects have function like __eq__() and __ne__() to allow easy compares between two objects. Ex: print User1 == User2 Object __init__: All objects except the main Qaiku object can be called in three diffrent ways to init them. 1. As any other object: * MyMessage = QaikuMessage(id="312312asfa2" ... ) 2. With a valid json string: * MyMessage = QaikuMessage.fromJson("{id: "231231232" ... ") 3. With a valid python dict() * MyMessage = QaikuMessage.fromDict(" ... ) Todo: * Fix a small "bug" with QaikuGeo (Floating points...) * Add markdown support. License: Copyright (C) 2009 Mattias Stahre <[email protected]> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License long with this program; if not-> write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
About
A python library for the Qaiku.com API
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published