Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


1710 API and notebooks (Ken Smith)

  • (need slides - messaged him)

  • Lasair team has introduced REST APIs using Django Rest Framework (looks to be defacto standard)

  • Effectively, these are machine-readable versions of functions provided (interactive) on webpages

    • /api/cone -

    • /api/query

  • Python wrapper “lasair” (available via PIP install) to help use API.

  • Plan to add support for querying Cassandra directly

  • Also have Jupyter Notebook examples, hosted on Google Colab

    • Need user account on Lasair to access

    • Ken provided live demo of cone-search notebook.

  • API throttled, based on different levels of token

    • Action taken in response to use who was submitting thousands of queries, and putting strain on service (now using more effiicient watch-list approach).

      • Anonymouse use limit to 10 calls-per-hour, 1000 rows per query, …

  • Eric B Q on zoom chat - “ how are you handling auth for the public kafka service?”

1720 Tools interface (Andy Lawrence)

  • Different interfaces – need to prioritise

    • Webpage

    • Scripts (Python, primarily)

    • Other projects (website)

    • iDAC/ RSP interface – opportunity in UK, as IDAC is next to Lasair broker, but needs requirement analysis and design work

    • Topcat

1730: Discussion