Skip to main content

rieapie travis-ci coverall

Introduction

An example for accessing google maps rest api using rieapie.

import rieapie
gmap = rieapie.Api("http://maps.googleapis.com/maps/api")
args = {
 "origin"      : "Toronto"
,"destination" : "Montreal"
,"avoid"       : "highways"
,"mode"        : "bicycling"
,"sensor"      : "false"
}
directions = gmap.directions.json.get(**args)
print directions["routes"][0]["bounds"]

An example for accessing the twitter api with the provided twitter wrapper.

import rieapie
params = {
 "consumer_key"    : "..."
,"consumer_secret" : "..."
}
# or if you want to provide an access token
params = {
 "consumer_key"        : "..."
,"consumer_secret"     : "..."
,"access_token"        : "..",
,"access_token_secret" : ".."
}

twitter = rieapie.wrappers.Twitter( **params )

timeline = twitter.statuses.user_timeline(ext="json")
# or if you prefer this syntax
timeline = twitter.statuses["user_timeline.json"]
for status in timeline.get(count=10, screen_name="mybestfriend"):
    print status['text']

why is it ‘rieapie’?

  • [R]est [i]s [E]asy [a]s [P]ython [i]s [E]asy

  • [R]est [i]s [E]asy [a]s [PIE]

  • [R]est [i]s [E]asy [API]… [E]asy

Metadata

Release files for rieapie 0.0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rieapie 0.0.7.3
File Size Uploaded Provenance Actions
rieapie-0.0.7.3.tar.gz 5.2 kB Without provenance Details for rieapie-0.0.7.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rieapie 0.0.7.3
File Interpreter ABI Platform Actions
rieapie-0.0.7.3-py2.7.egg Legacy Egg format - - Details for rieapie-0.0.7.3-py2.7.egg

Total release size: 15.4 kB

Release files / rieapie-0.0.7.3.tar.gz

Download URL rieapie-0.0.7.3.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
586f389d8e98a3f101778941189e7cf10b4427542c17c6db23eeae8bd05efbe9
BLAKE2b-256 checksum
How to use checksums
0565e415ebfa401763ac5a83688d9f95daafcc9ff9969b19cfabb93d8c0d3242
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rieapie-0.0.7.3-py2.7.egg

Download URL rieapie-0.0.7.3-py2.7.egg
Size 10.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
6296411cd859df0b1cdc5b8bef273fcce363b96d0477c078a0fdbbba7150a9a1
BLAKE2b-256 checksum
How to use checksums
1ddf0d77b6376776112b7ad80ee34460b0448ca4c8dd515923a2bc1c97787bcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rieapie 0.0.7.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page