brandwatch masterclass: doing things bigger with the api
DESCRIPTION
NY Masterclass Session, May 8TRANSCRIPT
Brandwatch API / Doing things bigger with the API
Tian Yang US Analytics, [email protected] | Tel: +44 (0)1273 234 290
May 2014
Contents
© 2013 Brandwatch | www.brandwatch.com 2
• About the Brandwatch API
• Getting Started
• API in Action
3
Brandwatch API
© 2013 Brandwatch | www.brandwatch.com
Brandwatch API / Brandwatch on the Go
4
The power of Brandwatch API
• Automate & iterate tasks!
• Generate reports
© 2013 Brandwatch | www.brandwatch.com
Brandwatch API / Brandwatch on the Go
5
API Request Types
• GET
• POST
• PUT
• PATCH
• DELETE
© 2013 Brandwatch | www.brandwatch.com
Brandwatch API / Brandwatch on the Go
6
OAuth2
• Grants access to Brandwatch
Formats/Data Types• API2 supports 4 data types
• JSON (recommended)
• XML
• CSV
• XLSX
© 2013 Brandwatch | www.brandwatch.com
7
Getting Started
© 2013 Brandwatch | www.brandwatch.com
Getting Started / Logging In
8
OAuth/Tokens
• To login, get tokens
Getting Information• In request headers in the format: Authorization: bearer [your token]
• In the URL as a parameter: &access_token=[your token]
• Basic requests are
• /projects/summary
• /project/{projectid}/queries
• /project/{projectid}/queries/{queryid}
© 2013 Brandwatch | www.brandwatch.com
9
Action
© 2013 Brandwatch | www.brandwatch.com