brandwatch masterclass: doing things bigger with the api

9
Brandwatch API / Doing things bigger with the API Tian Yang US Analytics, [email protected] | Tel: +44 (0)1273 234 290 May 2014

Upload: brandwatch

Post on 28-Jan-2015

105 views

Category:

Social Media


0 download

DESCRIPTION

NY Masterclass Session, May 8

TRANSCRIPT

Page 1: Brandwatch Masterclass: Doing things bigger with the API

Brandwatch API / Doing things bigger with the API

Tian Yang US Analytics, [email protected] | Tel: +44 (0)1273 234 290

May 2014

Page 2: Brandwatch Masterclass: Doing things bigger with the API

Contents

© 2013 Brandwatch | www.brandwatch.com 2

• About the Brandwatch API

• Getting Started

• API in Action

Page 3: Brandwatch Masterclass: Doing things bigger with the API

3

Brandwatch API

© 2013 Brandwatch | www.brandwatch.com

Page 4: Brandwatch Masterclass: Doing things bigger with the API

Brandwatch API / Brandwatch on the Go

4

The power of Brandwatch API

• Automate & iterate tasks!

• Generate reports

© 2013 Brandwatch | www.brandwatch.com

Page 5: Brandwatch Masterclass: Doing things bigger with the API

Brandwatch API / Brandwatch on the Go

5

API Request Types

• GET

• POST

• PUT

• PATCH

• DELETE

© 2013 Brandwatch | www.brandwatch.com

Page 6: Brandwatch Masterclass: Doing things bigger with the API

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

Page 7: Brandwatch Masterclass: Doing things bigger with the API

7

Getting Started

© 2013 Brandwatch | www.brandwatch.com

Page 8: Brandwatch Masterclass: Doing things bigger with the API

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

Page 9: Brandwatch Masterclass: Doing things bigger with the API

9

Action

© 2013 Brandwatch | www.brandwatch.com