Giter VIP home page Giter VIP logo

web-scraping-and-api-in-python's Introduction

Web-scraping-and-API-in-Python

In this repository, you will know and learn in-depth about:

  • How to use APIs like EDAMAM API, Github API and iTunes API.

    • Initial setup and registration
    • Passing parameters
    • Testing invalid input
    • Investigating output
    • Structuring and exporting data
    • sending GET and POST requests
    • Pagination
    • Extracting results from multiple pages
  • Building a currency converter using exchange rates API.

    • Extracting data on currency exchange rates
    • Handling JSON
    • Obtaining historical exchange rates
    • Extracting data from a time period
  • How to download files with requests.

    • Naive downloading
    • Streaming the download to a file
    • Writing to a file
  • Using BeautifulSoup library.

    • Making a GET request and soup
    • Exporting the HTML to a file
    • Searching and Navigating HTML tree
    • Extracting the text
    • Extracting data from HTML tree and nested tags
    • Searching by attributes
    • Processing links and multiple links at once
    • Scraping multiple pages automatically
  • Scraping Rotten Tomatoes

    • Choosing a parser among html.parser and lxml
    • Finding an element containing all the data
    • Extracting the title, year and score of each movie (including preprocessing and cleaning)
    • Extracting adjusted score, synopsis, critics consensus (plus 2 ways of text processing), directors and cast info
    • Representing the data in structured form and exporting the data
  • Scraping HTML tables with the help of pandas

    • Extracting tables with Beautiful Soup
    • Using Pandas to extract tables
  • Exploring requests-html library:

    • Searching for elements, text;
    • Using CSS selectors - select elements based on ID, class, tag name and other attributes
    • Combining different filters together into a compound selector
    • Incorporating tag hierarchy
    • Scraping data generated by JavaScript via Asynchronous sessions

web-scraping-and-api-in-python's People

Contributors

vishnukanduri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.