Skip to content

kenreilly/consume-api-python-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consume-api-python-demo

This example project is a companion to this article about how to consume open web APIs with Python

Introduction

This project contains a simple Python3 example for working with an open API (in this case the NASA API. In this example, the Astronomy Picture of the Day is retrieved and a copy of it, along with a .json info file, is saved to the data/ folder.

Getting Started

To run this example:

  • If you don't already have Python3, grab it over here
  • Clone this repo
  • Run the example with ./run.sh or by executing python3 main.py
  • Check contents of data/ for today's featured astronomy photo from NASA

Contribution

If you notice something out of place or in need of some improvements: issues, pull requests, and other contributions are welcome.

Thanks for checking out this project! @8_bit_hacker

About

Example project demonstrating how to consume open web APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published