Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Just a command line interface to StackOverflow

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 arguments.c
Octocat-spinner-32 requests.c
Octocat-spinner-32 stackoverflow-cli.c
Octocat-spinner-32 stackoverflow-cli.h
Octocat-spinner-32 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.