Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
delete local documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvexel committed Jul 5, 2015
1 parent deb683e commit 896ba71
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions README.md
Expand Up @@ -8,33 +8,7 @@ A python wrapper for the MapRoulette API

## Usage

### Create a challenge

```[python]
from maproulette.server import MapRouletteServer
from maproulette.challenge import MapRouletteChallenge
server = MapRouletteServer()
challenge = MapRouletteChallenge(
slug='my_challenge',
title='My Challenge')
response = challenge.create(server)
```

### Create a task

```[python]
from maproulette.server import MapRouletteServer
from maproulette.challenge import MapRouletteChallenge
from maproulette.task import MapRouletteTask
server = MapRouletteServer()
challenge = MapRouletteChallenge.from_server(
server,
'my_challenge')
task = MapRouletteTask(
challenge,
'my-task-identifier')
response = task.create(server)
```
See the [documentation](http://maproulette-api-wrapper.readthedocs.org/en/latest/).

## Tests

Expand Down

0 comments on commit 896ba71

Please sign in to comment.