Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

no longer need to set api key as env var to use

  • Loading branch information...
commit ecf214bd5c113c40223d3f5eaef291974c776c59 1 parent f3f1576
@dwillis dwillis authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
9 README.md
@@ -6,9 +6,6 @@ A very basic Python client for the New York Times [Campaign Finance API](http://
Install
-------
-Set your API key as an environment variable NYT_CAMPFIN_API_KEY:
-
- $ export NYT_CAMPFIN_API_KEY=YOUR-API-KEY
$ pip install nytcampfin
Or download and run
@@ -23,7 +20,11 @@ NYT Campfin uses the [Kenneth Reitz's Requests library](https://github.com/kenne
Tests
-----
-To run the tests, do the following:
+To run the tests, set your API key as an environment variable NYT_CAMPFIN_API_KEY:
+
+ $ export NYT_CAMPFIN_API_KEY=YOUR-API-KEY
+
+and then run the tests:
$ python test.py
Please sign in to comment.
Something went wrong with that request. Please try again.