How to Write Python Scripts to Analyze JSON APIs and Sort Results

Published: 09 April 2019
on channel: Corey Schafer
159,587
3.4k

In this Python Programming Tutorial, we will be learning how to grab data from a JSON API, parse out the information we want, and then sort the data using a custom key. The API we will be using is a JSON API for Homebrew Packages and we will be sorting the packages by their popularity. We cover a lot of topics in this tutorial. We will be using the Requests Library, converting to/from JSON, reading and writing to files, writing our own sorting function, and more. Let's get started...

Homebrew Packages - https://formulae.brew.sh/formula/
Homebrew Analytics - https://formulae.brew.sh/analytics/

Requests Tutorial -    • Python Requests Tutorial: Request Web...  
JSON Tutorial -    • Python Tutorial: Working with JSON Da...  
Sorting Tutorial -    • Python Tutorial: Sorting Lists, Tuple...  
List Comprehensions -    • Python Tutorial: Comprehensions - How...  

✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python #JSON #API


Watch video How to Write Python Scripts to Analyze JSON APIs and Sort Results online without registration, duration hours minute second in high quality. This video was added by user Corey Schafer 09 April 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 159,587 once and liked it 3.4 thousand people.