Looking beyond the documentation?

Check out our help articles

Consuming, Parsing, and Processing Tweets with Python

posted on 27 October 2014 by Jeff Kolb

Introduction Python is a powerful, easily readable, and well-documented scripting language that is well suited for data exploration and analysis. The purpose of this article is to explore a Python script that performs a simple but complete parsing of JSON-formatted social media data, such as would be streamed or downloaded from a Gnip API endpoint. The article is meant to be accessible to readers with little to no previous experience with Python. In this example, we’ll start by loading some Twitter data, then extracting the Tweet actor ID and the language identification, and finally, printing the comma-separated output. The general... keep reading

Data and Rule Management with jq

Tips on how to use jq to inspect JSON data, debug invalid PowerTrack rules, and generate new PowerTrack rules from a plain-text file.

24 September 2014

Honoring User Intent on Twitter

An overview of honoring user intent and privacy on Twitter.

17 August 2014

Planning for High-Volume Social Data Events

Overview of best practices for preparing for high-volume social data events.

04 June 2014

See More

Building your app?

Get going quickly with our code examples

PowerTrack / Firehose Stream

Connect to the PowerTrack and Firehose streams.

PowerTrack Rule Management

Add, delete, and list rules on the PowerTrack Rules API.

Historical PowerTrack

Create and manage Historical PowerTrack jobs.

Search API

Send Search and Counts requests to the Search API.

Rehydration API

Request Tweets via the Rehydration API.

Data Collector Stream

Connect to the streaming endpoint of Data Collector streams.

Data Collector Polling

Retrieve data from your Data Collector with GET polling.

Data Collector Rule Management

Add, delete, and list rules on your Data Collector feeds.