Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Just a command line interface to StackOverflow
C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README
arguments.c
requests.c
stackoverflow-cli.c
stackoverflow-cli.h
stackoverflow.c

README

*stackoverflow-cli* is a command line interface to the stackoverflow API designed to be run in text environments in combination with other GNU tools to extract useful information.

To compile this thing you need libcurl and json-c libraries, downnload the code and run the Makefile.

No configure script yet.

Usage: ./stackoverflow-cli <operation> [options...]

Operations has to be one of the following:

Search:
	--search		Searches the questions database.
	--intitle <string>	A string that must appear verbatim in the title.
	--tagged <string>	List of tags delimited by semicolons at least one has to be on the questions.
	--nottagged <string>	List of tags delimited by semicolons that must not be in the question.

Users:
	--users			Searches the users database.
	--id <string>		List of user ids delimited by a semicolon.
	--filter <string>	A string that must appear in the users name.

Questions:
	--questions		Searches the questions database with answers.
	--id <string>		List of question ids delimited by a semicolon.

Generic parameters:

	--pagesize <size>	How many items per page? 100 maximum.
	--page <page>		What page do you want to see?

Something went wrong with that request. Please try again.