Catalog PyPI
Back to packageRELEASE DETAILS

0.3.8

PyPI

adnpy

App.net API library for python

apiapp.netlibrary
Published24 Apr 2014
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.3.8 documentation
ADNpy: App.net API for Python
=============================

.. image:: https://badge.fury.io/py/adnpy.png
    :target: http://badge.fury.io/py/adnpy

.. image:: https://travis-ci.org/appdotnet/ADNpy.png?branch=master
    :target: https://travis-ci.org/appdotnet/ADNpy


ADNpy aims to be an easy-to-use Python library for interacting with the `App.net API <https://developers.app.net>`_.

Installation
------------

To install Requests, simply:

.. code-block:: bash

    $ pip install adnpy

Documentation
-------------

Documentation is available at http://adnpy.readthedocs.org/.

Quick Start
-----------

In order to use ADNpy, You'll to need an access token. If you don't already have one, first `create an app`_, and then generate an access token for your app.

.. code-block:: python

    import adnpy
    adnpy.api.add_authorization_token(<Access Token Here>)

    # Create a post
    post, meta = adnpy.api.create_post(data={'text':'Hello App.net from adnpy!'})

    # Take a look at recent checkins
    posts, meta = adnpy.api.get_explore_stream('checkins')
    for post in posts:
      print post

    # You can even paginate through checkins using the cursor method.
    # Cursors will obey rate limits (by blocking until retries are
    # permitted), and will allow you to page through the entire stream.
    for post in adnpy.cursor(adnpy.api.get_explore_stream, 'checkins'):
        print post

.. _create an app: https://account.app.net/developer/apps/

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
adnpy-0.3.8.tar.gz

sdist · 12.07 KB · Python source

Source file

Repository

PENDING
appdotnet/adnpy

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9b424ada03d8cf8bbcb974bf79cb059e6f31d75d42ed809ddc4f733fd9a1d7cd

Other collected versions

View all collected versions →