graphQL API of safegraph.com using Python functions
Project description
API of https://api.safegraph.com/v1/graphql
Installation
pip install safegraphQL
Usage
First, get yourself a SafeGraph API key.
from safegraphql import client graph = client.HTTP_Client("MY_API_KEY") placekeys = [ "zzw-222@8fy-fjg-b8v", # (Disney World) "zzy-227@5sb-8cw-pjv", # (O'Hare Airport) "222-223@65y-rxx-djv", # (Walmart in Albany, NY) ] # returns pandas dataframe df = graph.places(placekeys, columns="*")
Datasets
CORE PLACES
Reliable POI For Accuracy In Your Data Models. With global coverage for any brand you request, our Core dataset provides high quality data for the POI you care about.
GEOMETRY
Machine Generated, Human Verified Building Footprint Polygons. SafeGraph Geometry allows data leaders to understand POI footprints with spatial hierarchy metadata.
PATTERNS
Understand Consumer Behavior With Verified Foot Traffic Data. Aggregate foot fall data to either specific POIs or to Census Block Groups (CBGs) with SafeGraph Patterns.
Examples
places
search
place_by_name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for safegraphQL-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90232abce9ccc7ccb43830da21dc946730737588a5afed71a5fcdfcc2b63a77 |
|
MD5 | f025bf427ae79ee43d8c1d9c83a6c87f |
|
BLAKE2b-256 | 1beb4e1a3e219bdd0d7f45dd124e5d40943dcec460662ca6618e7bd81ccf7155 |