GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - appdotnet/ADNpy: ADNpy aims to be an easy to use python library for interacting with the App.net API.

BranchesTags
Open more actions menu

Latest commit

 

History

58 Commits
58 Commits

Folders and files

NameName
Last commit message
Last commit date
adnpy
adnpy
 
 
docs
docs
 
 
examples
examples
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
HISTORY.rst
HISTORY.rst
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
TODO.md
TODO.md
 
 
run_tests.sh
run_tests.sh
 
 
setup.py
setup.py
 
 
streaming_test.py
streaming_test.py
 
 
test_requirements.txt
test_requirements.txt
 
 
update_docs.sh
update_docs.sh
 
 

Repository files navigation

ADNpy: App.net API for Python

https://badge.fury.io/py/adnpy.png https://travis-ci.org/appdotnet/ADNpy.png?branch=master

ADNpy aims to be an easy-to-use Python library for interacting with the App.net API.

Installation

To install Requests, simply:

$ 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.

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

About

ADNpy aims to be an easy to use python library for interacting with the App.net API.

developers.app.net/

Resources

Readme
MIT license
Activity
Custom properties

Stars

27 stars

Watchers

8 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.