Python Requests Essentials
Rakesh Vidya Chandra, Bala Subrahmanyam Varanasi
- 出版商: Packt Publishing
- 出版日期: 2015-05-29
- 售價: $1,670
- 貴賓價: 9.5 折 $1,587
- 語言: 英文
- 頁數: 122
- 裝訂: Paperback
- ISBN: 1784395412
- ISBN-13: 9781784395414
-
相關分類:
Python、程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Learn how to integrate your applications seamlessly with web services using Python Requests
About This Book
- A fast-paced guide that demonstrates the use of Python Requests with the help of examples
- Learn web scraping with Beautiful Soup and Python Requests libraries
- Interact with social networking sites such as Facebook, Twitter, and Reddit to retrieve data from them
Who This Book Is For
If you are a Python administrator or developer interested in interacting with web APIs and have a passion for creating your own web applications, this is the book for you. Basic knowledge of Python programming, APIs, and web services will be an advantage.
What You Will Learn
- Demonstrate the use of Python Requests with the help of examples
- Use the Requests module to deal with the inner sections of the request-response cycles
- Implement the RESTful Web API with Python Requests
- Authenticate Requests using different authentication methods
- Emulate server actions and interact with a mock server
- Interact with social networking sites such as Facebook, Twitter, and reddit
- Scrape the Web with Python Requests and BeautifulSoup
- Build your own web application with Flask
In Detail
Python is one of the most popular programming languages of our era; the Python Requests library is one of the world's best clients, with the highest number of downloads. It allows hassle-free interactions with web applications using simple procedures.
You will be shown how to mock HTTP Requests using HTTPretty, and will learn to interact with social media using Requests. This book will help you to grasp the art of web scraping with the BeautifulSoup and Python Requests libraries, and will then paddle you through Requests impressive ability to interact with APIs. It will empower you with the best practices for seamlessly drawing data from web apps. Last but not least, you will get the chance to polish your skills by implementing a RESTful Web API with Python and Flask!
商品描述(中文翻譯)
學習如何使用Python Requests與Web服務無縫整合
關於本書
- 以示例演示使用Python Requests的快節奏指南
- 學習使用Beautiful Soup和Python Requests庫進行網絡爬蟲
- 與Facebook、Twitter和Reddit等社交網絡網站互動,檢索數據
本書適合對與Web API互動並熱衷於創建自己的Web應用程序的Python管理員或開發人員。具備Python編程、API和Web服務的基本知識將是一個優勢。
你將學到什麼
- 通過示例演示使用Python Requests
- 使用Requests模塊處理請求-響應循環的內部部分
- 使用Python Requests實現RESTful Web API
- 使用不同的身份驗證方法進行請求驗證
- 模擬服務器操作並與模擬服務器互動
- 與Facebook、Twitter和Reddit等社交網絡網站互動
- 使用Python Requests和BeautifulSoup進行網絡爬蟲
- 使用Flask構建自己的Web應用程序
詳細內容
Python是我們時代最受歡迎的編程語言之一,Python Requests庫是世界上最好的客戶端之一,下載量最高。它使用簡單的程序,讓您輕鬆與Web應用程序進行交互。
本書將向您展示如何使用HTTPretty模擬HTTP請求,並學習使用Requests與社交媒體進行互動。本書將幫助您掌握使用BeautifulSoup和Python Requests庫進行網絡爬蟲的技巧,並通過Requests令人印象深刻的API互動能力,無縫地從Web應用程序中提取數據。最後,您將有機會通過使用Python和Flask實現RESTful Web API來提升您的技能!