i love json module

Post on 25-May-2015

624 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Hacking Facebook, Twitter and Reddit with Python. Batteries included \o/

TRANSCRIPT

I love JSON module

PythonBrasil[8]

@fmasanori http://www.slideshare.net/fmasanori

@fmasanori

• Graduado IME-USP e Mestrado ITA

• ed e lint Cobra Tecnologia

• Software Express

• Credicard Mastercard

• PriceWaterhouseCoopers

• Itau BankBoston

• Docente FATEC SJC (amo dar aulas)

• Interesses: Python, NoSQL, Google Technology, Facebook

Agenda (Python 2.7)

• JSON killer module

• Twitter Client

• Facebook Hacking

• Reddit + MongoDB Client

• Agradecimentos

• Propaganda

• Perguntas

JSON killer module

JavaScript Object Notation

• http://json.org/

• Independente de linguagem

• Pares nome/valor

• Lista ordenada

• Muito adotado atualmente

• Alternativa para o XML – XML mais verbosa

– XML menor legibilidade

Twitter Client

Twitter Client

Twitter Client

Twitter Client

https://gist.github.com/4120037

(by Pamela Fox)

Twitter Trending Topics

Twitter Trending Topics

https://gist.github.com/4121001

(by Bruno Rocha)

Twitter Trending Topics

Facebook Hacking

graph.facebook.com

Facebook profile

Facebook profile photo

Facebook Graph API

• https://graph.facebook.com

• Objetos JSON

• Links autenticados

• Obs.: access_token expira

• Autenticar novamente neste caso

Facebook Friends

Facebook Friends Photos

https://gist.github.com/4124876

Android Wallpaper

Android Wallpaper

Reddit + MongoDB client

Reddit client

https://gist.github.com/4126108

(by 10gen)

Reddit client

MongoDB == JSON

Flexible Schema

Relational DB

Reddit MongoDB client

https://gist.github.com/4126471

Reddit MongoDB client

Agradecimentos

• Organizadores Python Brasil [8]

• Pamela Fox (Twitter Client)

• Lista Python Brasil

• http://education.10gen.com/

Perguntas? fmasanori@gmail.com

facebook.com/fmasanori

twitter.com/fmasanori

top related