Skip to content

Commit e29a83b

Browse files
authored
Merge pull request #97 from Robot8A/patch-1
Update index.rst 4 lines code snippet
2 parents 1740b54 + 718ad90 commit e29a83b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ This client makes it easy for users to communicate with the MapRoulette API from
2929
their Python environment. In the example below, we are able to access a MapRoulette project in just four lines of code:
3030

3131
>>> import maproulette
32-
>>> config = maproulette.Configuration()
33-
>>> api = maproulette.Api(config)
32+
>>> config = maproulette.Configuration(api_key='{YOUR_API_KEY}')
33+
>>> api = maproulette.Project(config)
3434
>>> api.get_project_by_id(4719)
3535
{'data': {'id': 4719, 'owner': 4785024, 'name': 'health_facilities_in_india',...}
3636

0 commit comments

Comments
 (0)