Event - Seminar
ESA 2021 Data Help Desk
Aug 2-6, 2021
Hosted By:
Ecological Society of America (ESA)
Ecological Society of America (ESA)
This page contains links and information relevant to the NEON Data Help Desk (DHD) at the Ecological Society of America (ESA) 2021 annual scientific conference. Here we link to several helpful resources for working with APIs in the R, Python, and Bash programming languages. Most of these examples are specific to NEON data, but you can adapt these lines of code for your repository of interest!
Topic | Resource |
---|---|
Intro to APIs | See Erica Krimmel's great Intro to APIs talk from the 2020 DHD here |
Endpoints & Targets | NEON API Endpoints Turorial |
Using API in R | Using the NEON API in R Tutorial |
Using API in Python | Introduction to NEON API in Python Tutorial |
Using API in Bash | What is the curl Command for API Calls? - links to EveryDeveloper.com |
API Wrapper - R | Use the neonUtilities Package to Access NEON Data |
API Wrapper - Python | Using neonUtilities in Python |
API Token | About Rate Limiting and Using API Tokens with neonUtilities |
# Note that Windows users may need to use curl.exe instead of just curl
# to show the JSON response to the curl request, use -v (verbose)
curl -v https://data.neonscience.org/api/v0/data/DP1.10003.001/WOOD/2015-07
# or you can save the JSON response to a file (out.json) using the -o (output) option
curl -o out.json https://data.neonscience.org/api/v0/data/DP1.10003.001/WOOD/2015-07
Marie Faust; Science Outreach Specialist; NEON program, Battelle
TBD