Голосов: 0
#1
Используем HTTP сервисы в Python
Consuming HTTP Services in Python
Краткое описание курса
Этот курс покажет вам, как легко потреблять широкий спектр веб-сервисов с использованием Python. Вы будете комфортно работать с различными веб и HTTP-сервисами. В дополнение к API, вы будете изучать входы и выходы HTTP RESTful услуг и их типов данных.
Для кого этот курс?
Это для людей, которые имеют некоторые программирования / опыт написания сценариев и хотят улучшить свои знания Python. Может быть, вы
- Хотите добавить услуги к вашим местным приложений или ваших веб-приложений
- Разработчик, добавив интеграцию с существующими службами
- Ищем данные и собираем их из Интернета
- Разработчик, который должен интегрировать с сервисами SOAP
- Кто хотел бы понять концепции, лежащие в основе HTTP/REST сервисов
Welcome to the course
Welcome to the course and what we'll cover
Course setup: Python 3 (and a little 2)
Editor options and PyCharm
Exploring APIs with Postman
Get the source code for the course
The service landscape
Service type: Raw sockets
Service type: SOAP
Service type: HTTP and REST
Service type: Message queues
Initial HTTP GET requests with the requests package
Getting started with requests
A clean environment for our course
Installing requests in PyCharm
Concept: installing requests
A simple GET with requests
Concept: A simple GET with requests
Reading JSON data with requests
Working with JSON from Python
Demo: JSON from Python
Concept: JSON from Python
Consuming GitHub JSON API
Concept: Consuming GitHub JSON API
XML services with requests
XML chapter introduction
Working with XML from Python
Concept: Working with XML from Python
Consuming XML data from an HTTP service
Concept: Consuming XML data from an HTTP service
Binary data from services (and elsewhere)
Binary data from services introduction
A podcast MP3 downloader (binary downloader)
Concept: Binary downloads with requests
Consuming RESTful HTTP services
HTTP and REST building blocks
The HTTP verb meanings
Exploring the Basecamp HTTP API
Introduction to modifying data via HTTP
Introducing the Talk Python blog service
Welcome to the blog explorer app
Blog explorer: Getting posts
Blog explorer: Creating a post
Concept: Creating a post with requests
Blog explorer: Updating a post
Concept: updating a post with requests
Blog explorer: Deleting a post
Concept: Deleting a post with requests
HTTP services with Python builtins
Introduction to Python's builtin HTTP clients
Python 2: Blog explorer with urllib2
Python 2: Blog explorer update a post with urllib2
Python 3: Blog explorer: Getting posts with urllib.request
Python 3: Blog explorer: Adding a post with urllib.request
Python 3: Blog explorer: deleting a post with urllib.request
Concept: Python 3's urllib
Calling SOAP services from Python
Introduction to developing with SOAP services
SOAP services from a tool-based ecosystem
Concept: SOAP services from a tool-based ecosystem
Introduction to the suds package
Installing suds for Python 3
Blog explorer: Via SOAP and suds
Concept: Using suds
Concept: Complex types in suds
Accessing authenticated HTTP services
Introduction to authenticated services
Be cautious with basic authentication
Authenticated HTTP service overview
Making authenticated requests with requests
Concept: Adding authentication to requests
Authenticated requests with Python 3's urllib.requests
Concept: Authenticated requests with Python 3's urllib.requests
Concept Authenticated SOAP services with suds
Screen scraping: Adding APIs where there are none
What is screen scraping and web scraping?
Survey of screen scraping libraries
Scraping Talk Python by leveraging sitemaps
Downloading transcript html
Finding the title with BeautifulSoup
Searching for elements via CSS in BeautifulSoup
Concept: Scraping with BeautifulSoup
What are user agents?
Controlling your user agent in requests
Concept: Controlling your user agent in requests
Conclusion
You've done it!
Для просмотра содержимого вам необходимо зарегистрироваться!Для просмотра содержимого вам необходимо зарегистрироваться!
Последнее редактирование модератором:
- Статус
- В этой теме нельзя размещать новые ответы.