Skip to main content

API Client utility package for the ATLAS Transient Server

Project description

ATLAS API Client


This Python client facilitates the use of the ATLAS API. Some general use cases are shown below - feel free to reach out to request additional documentation or features.

Pypi

pip install --user atlasapiclient

Clone Github

git clone git@github.com:HeloiseS/atlasapiclient.git

Configuration

The client requires a config ile that contains the base url of the ATLAS transient web servers and your token for the ATLAS API. In the directory atlasapiclient/config_files you will find the api_config_template.yaml file.

  1. Copy it in the same directory to a file named api_config_MINE.yaml. YES - THE NAME MATTERS
cd atlasapiclient/config_files
cp api_config_template.yaml api_config_MINE.yaml
  1. Update your token (if you don't have a token see below)
  2. Update the url to "https://psweb.mp.qub.ac.uk/sne/atlas4/api/"

How do I get a token?

For now, you ask Ken, the wizard in charge the ATLAS transient servers. Email: k.w.smith@qub.ac.uk

Documentation

^^^^ Check out the docs for recipies and details on the data structure you'll get back from the API.

FAQ

  • Can I query by TNS/ZTF name?: No. Do a cone search.
    • WHY?: Because it's too low on our priority list and we don't have the time. If it's a really big deal for you and you might have working hours to help us with this, get in touch.
  • Can I do a cone search? : Not yet. Poke us if we've not done it by February 2025.
  • Why does the API return so much data?: Because it'd take forever to refactor and it's low on the priority list. If it's a big deal for you talk to us, it might bump it further up the to-do list.

Any questions?

Open up an issue or email hfstevance@gmail.com

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

atlasapiclient-0.4.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlasapiclient-0.4.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file atlasapiclient-0.4.1.tar.gz.

File metadata

  • Download URL: atlasapiclient-0.4.1.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for atlasapiclient-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ac49b8c92752f28588f1682098d3483d9c61f91a5ddbd29e358e5510a305339f
MD5 b5b2a181a02da73822b9ba7e778e764d
BLAKE2b-256 124860fc48a2735b8b831e3c00b66589299f1594c22c38062978291697798cdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlasapiclient-0.4.1.tar.gz:

Publisher: publish.yml on HeloiseS/atlasapiclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atlasapiclient-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: atlasapiclient-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for atlasapiclient-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8259f4693d7250c8dcbb78103794cfc93d7ae832ab963ef3b060ebb7c451ee9c
MD5 40f28b3e0c532fcee4823ccbb6c3c308
BLAKE2b-256 cbad44e0530f8ba958f1efd8261e27aa86dc1348187a92ea00443695d3e463fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlasapiclient-0.4.1-py3-none-any.whl:

Publisher: publish.yml on HeloiseS/atlasapiclient

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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