<commit_before># [Bikewise.org](https://bikewise.org)

A new Bikewise is under development and the data is still in migration.

The updated version of Bikewise (this version) is available at [Bikewise.BikeIndex.org](https://bikewise.bikeindex.org). It will move to [Bikewise.org](https://bikewise.org) once everything has been sorted out.

## API useage

Bikewise has a versioned open RESTful API.

There are two endpoints: *locations* and *incidents* ([api/v1/locations](https://bikewise.bikeindex.org/api/v1/locations&updated_since=yesterday), [api/v1/incidents](https://bikewise.bikeindex.org/api/v1/incidents))

*Locations* provides a valid GeoJSON response, while *incidents* provides the information about incidents. Both use the same search methods described below. They both reference the same thing - locations are incident locations, but in valid [GeoJSON](http://geojson.org/). The Incident endpoint returns a FeatureCollection of points with IDs that match Incidents.

Here is a location:

```
{
  "type": "Feature",
  "properties": {
    "id": 1451,
    "type": "Theft"
  },<commit_msg>link to doc page<commit_after># [Bikewise.org](https://bikewise.org)

A new Bikewise is under development and the data is still in migration.

The updated version of Bikewise (this version) is available at [Bikewise.BikeIndex.org](https://bikewise.bikeindex.org). It will move to [Bikewise.org](https://bikewise.org) once everything has been sorted out.

**[Check out the documentation page](https://bikewise.bikeindex.org/developer)**

---


## API useage

Bikewise has a versioned open RESTful API.

There are two endpoints: *locations* and *incidents* ([api/v1/locations](https://bikewise.bikeindex.org/api/v1/locations&updated_since=yesterday), [api/v1/incidents](https://bikewise.bikeindex.org/api/v1/incidents))

*Locations* provides a valid GeoJSON response, while *incidents* provides the information about incidents. Both use the same search methods described below. They both reference the same thing - locations are incident locations, but in valid [GeoJSON](http://geojson.org/). The Incident endpoint returns a FeatureCollection of points with IDs that match Incidents.

Here is a location:

```
{
  "type": "Feature",
  "properties": {
    "id": 1451,
    "type": "Theft"
  },
{'fraction_non_alphanumeric': 0.11664482306684142, 'fraction_numerical': 0.0069899519440803845, 'mean_word_length': 4.826972010178117, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5851188', 'n_tokens_mistral': 717, 'n_tokens_neox': 690, 'n_words': 236}