GithubHelp home page GithubHelp logo

seancarverphd / dsc-apis-section-intro-dc-ds-060319 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-students/dsc-apis-section-intro-dc-ds-060319

0.0 0.0 0.0 20 KB

License: Other

Jupyter Notebook 100.00%

dsc-apis-section-intro-dc-ds-060319's Introduction

Introduction

Introduction

In this section, you'll be learning about APIs and why they'll be important to you as a data scientist.

Objectives

You will be able to:

  • Understand and explain what is covered in this section
  • Understand and explain why the section will help you to become a data scientist

APIs

One of the many ways you'll find yourself accessing data as a professional data scientist is via APIs (Application Programming Interfaces). Typically you'll send a request and get some data back - often in JSON or XML format. In this section you'll get some hands on experience retrieving and working with data provided by a range of different APIs.

Introduction to APIs

We start off the section by providing a conceptual introduction to various kinds of APIs and some of the reasons that businesses create them.

The Client Server Model

We then look at the basic model of "clients" and "servers" to provide a framework for thinking about how your "client" retrieves information from an API "server".

The Request/Response Cycle

Next we look at the fundamental mechanism by which web based APIs are typically accessed - sending a HTTP request and then processing the response provided by the server. We also get a little experience of working with http requests using the Python .get() method within the Requests package. We also get some hands on experience retrieving information from NASA using Open Notify.

APIs and OAuth

Usually, access to a given API is limited to avoid abuse. One of the most common mechanisms for identifying your API requests to make sure they fit within acceptable usage guidelines is OAuth - Open Authorization - a standard for authorizing clients across web requests. In this section we provide an overview of what OAuth is and how it works by looking at how it is implemented by Dropbox.

Working with the Yelp API

Next we get some practice working with a real API, retrieving information from the Yelp API.

Building a GIS with Yelp and Folium

Finally, we wrap up the section by building out a Geographical Information System using data from Yelp and Folium to display it on a map.

Summary

Many companies provide access to their data via an API, so being able to connect to and work with data provided via an API is a critical skill as a professional data scientist.

dsc-apis-section-intro-dc-ds-060319's People

Contributors

fpolchow avatar loredirick avatar mike-kane avatar peterbell 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.