Skip to main content

Drillinginfo Direct Access API Python Client

Project description

direct-access-py

A thin wrapper around Drillinginfo's Direct Access API

CircleCI

Install

pip install directaccess

Usage

from directaccess import DirectAccessV1, DirectAccessV2

d1 = DirectAccessV1(api_key=<your-api-key>)
for row in d1.query('landtrac-leases', county_parish='Reeves', state_province='TX', min_expiration_date='2018-06-01'):
    print(row)

# initialize DirectAccessV2 object
d2 = DirectAccessV2(
    client_id=<your-client-id>,
    client_secret=<your-client-secret>,
    api_key=<your-api-key>
)

# iterate over rows as dicts
for row in d2.query('well-origins', pagesize=10000):
    print(row)

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

directaccess-0.4.7.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

directaccess-0.4.7-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file directaccess-0.4.7.tar.gz.

File metadata

  • Download URL: directaccess-0.4.7.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for directaccess-0.4.7.tar.gz
Algorithm Hash digest
SHA256 76fd6e62629fa68529c0182008cb1a12b28c382ce295184ae6419c79895c0279
MD5 5d03abf095c5f030eebca484d788fd5b
BLAKE2b-256 c884bf8aabf2365c396e88b9e9d45a903356712d4bb78113f904ef26a139b7f1

See more details on using hashes here.

File details

Details for the file directaccess-0.4.7-py2.py3-none-any.whl.

File metadata

  • Download URL: directaccess-0.4.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for directaccess-0.4.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cd13354cd7a94f09d50afcd9ff2788a419f7599637ef16c27b53d6fc2e2e734
MD5 340714f612cc2982d5a63ecd8b1bb2ec
BLAKE2b-256 dd69e58a72f4f6353b41a0926dfcd6d41b329a42151204b6bea48f5a44bf7baa

See more details on using hashes here.

Supported by

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