Skip to main content

Python Dawa API

Project description



Python - Dawa API

dawa-sdk is a simple client for dawa api. It uses [Dawa Web API]( It is mainly designed for data replication, but will at later stages include search.


pip install dawa-sdk


from dawa import API
api = API()


def replicate():
    # Due to the amount of data on some endpoint, this returns a generator
def txid():
    # Returns an integer


# Get current txid and store somewhere
txid = api.txid()

# Get initial replication
vejstykke = api.replicate('vejstykke')

# Get latest txid and check if it is greater than previous
txid = api.txid()

# if yes get all the changes between last and current txid
vejstykke = api.replicate('vejstykke', txidfra='3340338', txidtil='3340338')

# It is also possible to get data from a single txid
vejstykke = api.replicate('vejstykke', txid='3340338')


Not implemented yet


Dawa Web API

Dawa Web API Doc

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

dawa-sdk-0.2.5.tar.gz (8.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page