Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 6d0c599

Browse files
committed
Update readme and fix default boolean bug
1 parent 355b4bb commit 6d0c599

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ Current release: 0.1
5050

5151
3. Open `git bash` and create then navigate to a new project directory
5252

53+
```sh
54+
mkdir fsf_api
55+
cd fsf_api
56+
```
57+
5358
![Screenshot](doc/images/1.2.1.png)
5459

5560
![Screenshot](doc/images/1.2.2.png)
@@ -62,6 +67,10 @@ Current release: 0.1
6267
├── fsf_api_access_python
6368
```
6469

70+
```sh
71+
git clone https://github.com/FirstStreet/fsf_api_access_python.git
72+
```
73+
6574
![Screenshot](doc/images/1.3.1.png)
6675

6776
5. [Optional] Open a new console or close and re-open a console and create and activate a new virtual environment in the project directory:

firststreet/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
parser.add_argument("-i", "--fsids", help="Example: 28,29", required=False,)
2222
parser.add_argument("-l", "--location", help="Example: property", required=False)
2323
parser.add_argument("-limit", "--limit", help="Example: 100", required=False, default="100")
24-
parser.add_argument("-log", "--log", help="Example: False", required=False, default=True)
24+
parser.add_argument("-log", "--log", help="Example: False", required=False, default="True")
2525
parser.add_argument("-f", "--file", help="Example: ./sample.txt", required=False)
2626

2727
argument = parser.parse_args()

tests/test_full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def test_full(tmpdir):
1212
api_key = os.environ['FSF_API_KEY']
13-
fs = firststreet.FirstStreet(api_key, version='v2', log=False)
13+
fs = firststreet.FirstStreet(api_key)
1414
fs.adaptation.get_detail([29], csv=True, output_dir=tmpdir)
1515
fs.adaptation.get_summary([395133768], "property", csv=True, output_dir=tmpdir)
1616
fs.adaptation.get_summary([7924], "neighborhood", csv=True, output_dir=tmpdir)

0 commit comments

Comments
 (0)