27. API é o balcão da padaria
Você pede 300 gramas de mortadela
e a atendente te entrega. Leva também 4 pãezinhos.
Te vira. Quem faz o sanduíche é você.
32. Dados da CET
Km de congestionamento
Pontos de alagamento
Ocorrências de trânsito
Estrutura de monitoramento exclusiva
Além de monitorar, também precisa
RESOLVER o trânsito!
58. Congressional Data
NYT APIs
The Congress API returns the following types of data:
• Roll-call vote data: Only roll-call votes (not voice votes or division votes) are tracked by official
Congressional data sources. Along with basic vote data, the Times API returns additional information that is
less readily available, such as party totals. For details, see Responses. For general information about roll-call
votes, see the THOMAS site.
• Member data: Along with general biographical information for current and past members of Congress, the
API returns data about members' Congressional roles. Role data includes the Congress number and chamber,
as well as the member's title, state and party. A single member may have more than one role in a particular
Congress (for example, the member may switch parties or move from the House to the Senate). For details,
see Responses.
Data Sources
The data returned by the Congress API is compiled from the following sources:
• The official Web site of the Office of the Clerk of the U.S. House of Representatives, for vote data
• The official Web site of the United States Senate, for vote data
• The Biographical Directory of the United States Congress, for member biographical information
• GovTrack.us, for member biographical information
• MIT Professor Charles Stewart's collection of Congressional data, for role information
• THOMAS (The Library of Congress), for bill data
• The C-SPAN Congressional Chronicle, for floor appearances
Certain fields in the API responses (such as party totals) are calculated by The Times, based on these data sources.
For details, see Responses.
http://developer.nytimes.com/docs/congress_api
64. Se o fornecedor não
colabora, fazemos justiça com
as próprias mãos
65. Se o fornecedor não
colabora, fazemos justiça com
as próprias mãos
66. Scraping = raspagem
Pegar na marra o que não é liberado por API
Robozinhos, crawlers e dumps
Mudança de mentalidade
67. Uma ajudinha:YQL
• Idioma comum para conversar com diversas
APIs ou fazer scraping
• Aberto para qualquer um se tornar
fornecedor ou processador de dados
• Tem um console muito divertido
• http://developer.yahoo.com/yql/console