Skip to main content

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
twitter = rieapie.wrappers.Twitter("consumer_key", "consumer_secret")
timeline = twitter.statuses.user_timeline(ext="json")
timeline = twitter.statuses["user_timeline.json"]
for status in timeline.get(count=10, screen_name="mybestfriend"):
    print status['text']

WTF is that name?

  • [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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rieapie-0.0.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rieapie-0.0.5-py2.7.egg (6.9 kB view details)

Uploaded Egg

File details

Details for the file rieapie-0.0.5.tar.gz.

File metadata

  • Download URL: rieapie-0.0.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rieapie-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a1bff1f95acfd76a25a68b44f5e205a21a82aea931047d509080a2b56c01b41c
MD5 4e05784adb24a3e60696384bbe0b63bb
BLAKE2b-256 49ab77191c8c0559f6204c2e6fa48d0e7b2e8f6406c11a57a706db0b4e2c6a3c

See more details on using hashes here.

File details

Details for the file rieapie-0.0.5-py2.7.egg.

File metadata

  • Download URL: rieapie-0.0.5-py2.7.egg
  • Upload date:
  • Size: 6.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rieapie-0.0.5-py2.7.egg
Algorithm Hash digest
SHA256 6367d486bd7e5989b71136eed765d9be9ad5f1cd3608dd9c3fc385382f530f20
MD5 ff835e283ac4939e99432995e9d3c9ba
BLAKE2b-256 d9fdb291388776612bc0062191f29fa46661f6d591775f242b17b0aaea656d6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page