Created
February 20, 2021 22:05
-
-
Save dumplingcompromise/7f268ed0a4b5b7eaaf9077660a10664a to your computer and use it in GitHub Desktop.
imports for decentraland api project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from gql import gql, Client | |
import pandas as pd | |
import time | |
from gql.transport.requests import RequestsHTTPTransport | |
# Select your transport with a defined url endpoint | |
transport = RequestsHTTPTransport(url="https://api.thegraph.com/subgraphs/name/decentraland/marketplace") | |
# Create a GraphQL client using the defined transport | |
client = Client(transport=transport, fetch_schema_from_transport=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment