...

/

Working with API

Working with API

Learn how to work with API and how to use the BLS library.

Things we need

There are two and a half things we’ll need to access the API successfully:

  • BLS endpoint addresses matching the specific data series you need
  • Python code to launch the request
  • A BLS API key to unlock higher request rates (in case we need them)

To work with Python, as shown in the figure, we need to access the API.

Getting the series endpoint addresses

...