Lai Yonghao (http://laiyonghoa.com)
Note: Gae SDK 1.5.1 was released a few days ago. One of the new features is that the python SDK has added the protorpc API. I am not very interested in Gae, but recently I was writing RPC based on Google protobuf (different from my RPC based on TCP), so I checked the overview of protorpc with great interest, later, I translat
1, the installation of related modules
Pip Install--upgrade Google-cloud
Or
Pip Install--upgrade google-cloud-translate
2, before invoking the API for translation, you need to install the relevant certificate
The official website provides the method to have three kinds: 1, installs the Google Cloud SDK downloadi
Call Google translation API for translation
#!/usr/bin/python #coding: UTF-8 import sys reload (SYS) sys.setdefaultencoding (' UTF8 ') from xml.etree import Eleme Nttree as ET #引入解析xml文件的模块 import re import urllib,urllib2 #引入接入网络接口API的模块 from socket import error as SocketError IM Port errno import OS import string #调用
Python crawler: capture Sina news data, python Sina news
Case 1
Capture object:
Sina domestic news (http://news.sina.com.cn/china/), the title of the List name, time, Link.
Complete code:
1 from bs4 import BeautifulSoup 2 import requests 3 4 url = 'http://news.sina.com.cn
passively Add the website administrator to your blog ). This API provides implementation in five languages: Java, Perl, Python, PHP and. net. adwords API provides ad serving companies and third-party advertisers with their own program management methods (for organizations that need to maintain hundreds of adwords, isn't that the Gospel ?). Adwords
Hot Hot Word-yi18 event billboard ( top.yi18.net " based on the Hotspot keyword two open news event watchlist, System real-time collection of people concerned about the event-based on Baidu search, sogou hot words, Google Trends collected real-time attentionEvents and news. Hot Hot Word API document (Doc.yi18.ne
1. Preparatory work1.1 Viewing the System Python versionLinux installs Python version 2.7 or later when installing Google SDKYou can use Python-v to view the Python version in the current environment.If the Python version is less
.
2. What is Google App Engine?
Google App EngineIs an online application platform provided by Google that supports Python and Java. Simply put, a program written in Python/Java is directly run on the Google App Engine, and the
/[user id]/Pref/COM. Google/subscriptions
The feed subscription list of Google Reader contains the user's current subscription and deleted subscription. Each feed contains its address, release and update time, and user-tagged tags (if any ). The current subscription is classified into the read list status. By setting complete to true, you can also obtain the list of all feeds.
Here is the subscribe list
It took two days to use Google's API to make such a small thing. In fact, there are not many real implementation codes, just a dozen lines. A time-consuming task is to understand the functions of each API and debug JavaScript.
The following is a brief introduction of several functions I have used this time.
• Constructor google. search. LocalSearch ()
This actual
We use some commonly used fonts when designing Web pages, and for some fonts that are not commonly used, we can replace them with pictures, and the fonts provided by Google API will not require any pictures, but some fonts that are not used, will be linked to these fonts by Google server when the user opens the page. So that the page is displayed, the user will n
Spent two days to use Google's API to do such a small thing, in fact, the real implementation code is not much, more than 10 lines. The time-consuming task is to understand the functionality of each API and debug JavaScript.
Here's a brief introduction to some of the functions I've used this time.
• constructor Google.search.LocalSearch ()
This is actually the creation of a localsearch service, like othe
For many Web designers and developers who are obsessed with fonts, yesterday's news about the Google Font API really made them happy, and this very simple and useful API includes a font library and a preview tool, combined with Google and Typekit Open source Webfon T-load to
Author: Mangrove [eNet power News in Silicon Valley] berneham, US, said at the ZendPHP exhibition, vice president of Google on Friday, the power of computing is switching from proprietary technologies to Microsoft APIs to Web links and content. Bosworth said that compared with 10 years ago, computing power has shifted. Many developers no longer use C ++ and Vi Google
Recently really do not know what to do well, want to learn everything, but learn nothing, but experience a Google Maps API feel good, Google is really too strong, maybe it is my future goals.
For GMAPAPI Development, you first have to apply for Google Maps API Key, Http://co
can we generate the FLAC file?
It doesn't matter. Here is the rescue Star: downloading the cmd.exe package.
Http://datastorage.laobubu.net/FLAC.zip
The tool uses the cmd.exe file .wav to call the file on the command line. The test shows that MP3 and other formats are not supported, but the basic WAV format is supported.
In other environments (such as Linux), there is also a corresponding FLAC download. I have never used Linux.
Now, you can create your app. Haha.
JavaScript API development documentation (v0.8.1)
Developer guide: http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/devguide.html
Release Notes: http://code.google.com/intl/zh-CN/apis/opensocial/docs/releasenotes.html
API specification: http://code.google.com/intl/zh-CN/apis/opensocial/docs/0.8/spec.html
API reference (opensocial. *): http://code.googl
Since December 5, Google has no longer encouraged people to use the soap-style searching API, instead of Ajax.
There are three things worth noting here.
One is a definite sentence. Soap must be finished, at least on the public internet.
Of course, some people will use it in the enterprise, and may even become a rising trend in a period of time. It is not surprising that these things were originally spoof b
WaveNet is used in Cloud text-to-speech for TTS, which has a demo on the page. Currently a beta versionHow to use
Registration and Certification reference: Quickstart:text-to-speech
Install the Python library for Google Clould
Install Google Cloud Text-to-Speech API
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.