Skip to main content

Teleportd API Python Wrapper

Project description

The Teleportd API for Python is a Python wrapper around the Teleportd API that makes it very simple to build Python apps on top of the Teleportd API. For more information on how the API works, a full documentation is available here.

Typical usage looks like this:

#!/usr/bin/env python

from teleportd import Teleportd

teleportd = Teleportd('_YOUR_USER_KEY_')

# Search with filters as a dictionary
search = teleportd.search({'str': 'laduree'})

# Retrieve a picture with the corresponding sha
get = teleportd.get({'sha': '12-07-20-98a3b3fdd9b190ef4484a06a76fc1009c03076c5'})

# Callback for each object fetched from the stream
def callback(data):
        do_something(data)

# Real-time photo stream
stream = teleportd.stream({}, callback)

License

This wrapper is released under the MIT license.

Project details


Download files

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

Source Distribution

Teleportd-0.3.3.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file Teleportd-0.3.3.tar.gz.

File metadata

  • Download URL: Teleportd-0.3.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Teleportd-0.3.3.tar.gz
Algorithm Hash digest
SHA256 1d05c422b75a46a2e38c83c318f3662b3f5500cb900bfa6aa24880ed13a6578f
MD5 4ff8f35df0b0766ab949cf05bfe09914
BLAKE2b-256 1b13f0270ee94a7a6cf1e110c0401db9c5e8b585e724578c6c5747fc0ebcbf18

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