Skip to main content

Signals NB API Application Examples in Python?

Comments

4 comments

  • Official comment
    Gleb, Sergei

    At Revvity Signals, we welcome our customers to share their code examples as suggested.

  • Rikard Alm

    I am also interested in working examples. Rich, did you find any?

    0
  • Julian B

    For what it's worth, using `requests` library to query details of a reagent (knowing the id):

     

     
    import requests
    from pprint import pformat
     
    url = f"{config.BASE_URL}/materials/Reagents (SNB)/assets/id/{reagent_id}"
    headers = {
    "x-api-key": config.API_KEY, # loaded from env vars
    "accept": "application/vnd.api+json",
    }
    params = {"fields": ["id", "eid"]}
    response = requests.get(url, headers=headers, params=params)
    if not response.ok:
    raise Exception(pformat(response.json()))
    pprint(response.json())
    0
  • Harald Dauwa-Stummer

    There is now a Developer Intro Guide available - 

    https://revvitysignals.com/revvity-signals-developer-guide-overview

    /hds

    0

Please sign in to leave a comment.