Skip to content

Instantly share code, notes, and snippets.

View maswadkar's full-sized avatar

vivek maswadkar maswadkar

View GitHub Profile
@subfuzion
subfuzion / curl.md
Last active September 20, 2024 18:43
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@maswadkar
maswadkar / get_followers_list.py
Last active December 29, 2015 15:06
Get the list of twitter followers
import twitter
import pandas as pd
import time
def give_followers_list(screen_name):
total_followers = []
my_cursor = -1
while my_cursor != 0:
my_followers = t.followers.list(screen_name=screen_name,count=200,cursor=my_cursor)