Skip to main content

A Python interface for the 3taps API.

The goal of this library is to map 3taps’ endpoints one-to-one. Calls to 3taps are made with clean, Pythonic methods. It only handles raw data, allowing you to define your own models.

Dependencies:

  • requests

Installation

Install via pip:

$ pip install threetaps

Install from source:

$ git clone https://github.com/mkolodny/3taps.git
$ cd 3taps
$ python setup.py install

Usage

Instantiating a client:

>>> client = threetaps.Threetaps('YOUR_API_KEY')

Examples

Reference

Sources:

>>> client.reference.sources()

Category Groups:

>>> client.reference.category_groups()

Categories:

>>> client.reference.categories()

Locations:

>>> client.reference.locations('locality', params={'city': 'USA-NYM-NEY'})

Locations Lookup:

>>> client.reference.location_lookup('CAN-YUL')

Search

Search:

>>> client.search.search(params={'location.city': 'USA-NYM-NEY'})

Count:

>>> client.search.count('category', params={'status': 'for_sale'})

Polling

Anchor:

>>> utc_dt = datetime.today()
>>> client.polling.anchor(utc_dt)

Poll:

>>> client.polling.poll(params={'anchor': '306785687'})

Release files for threetaps 0.2.2

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

Source distribution (sdist)

Source distribution for threetaps 0.2.2
File Size Uploaded
threetaps-0.2.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for threetaps 0.2.2
File Interpreter ABI Platform
threetaps-0.2.2.macosx-10.9-x86_64.exe Details

Total release size: 74.5 kB

Release files / threetaps-0.2.2.tar.gz

Download URL threetaps-0.2.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a57286f1c2db4e2874044d273c70fc6036f504625037e70b32684a52f39e0036
BLAKE2b-256 checksum
How to use checksums
8ac73a4bf32408b3a83998ed14095f12dfe2f946838ac1dbae83d73cb7ff208f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / threetaps-0.2.2.macosx-10.9-x86_64.exe

Download URL threetaps-0.2.2.macosx-10.9-x86_64.exe
Size 69.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b3553cc8cfe1dd68033649eab9cbaf1f2c4d7f83def8985cf219ab563cfc3e18
BLAKE2b-256 checksum
How to use checksums
530e2895c12b534b20b90ba914584601b632d182624d772440834f5e0f5c413f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

1 release file

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