Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A library for accessing the Socrata API from C#
C#
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Socrata
README
Socrata.sln

README

Socrata - C# Readme
Updated 24-Jan-2011, Aiden Scandella


In order to use the library in a C# project, a few configuration options are necessary.
These options should be specified in your project's "app.config" file, and are as follows:

	socrata.host: The hostname of the Socrata API server to communicate with.
            For default projects on Socrata's "opendata" public host, this should be set to opendata.socrata.com.
            If you have your own Socrata host, specify it here.

	socrata.username: The user credentials to use.
	socrata.password: The password for the user account specified.
        socrata.app_token: If you are developing an application, specify your token here (see your profile).

Once those are specified, you may interact with datasets and users by instantiating a Socrata::Dataset or Socrata::User respectively. If you with to work on an existing dataset, you may do so once the Dataset object is created by using attach('abcd-abcd') where the parameter passed to attach is the four-four UID for the dataset.

Something went wrong with that request. Please try again.