Browse Source

add search and translations

master
Daniel 1 year ago
parent
commit
eb2da77e3b
1 changed files with 29 additions and 0 deletions
  1. +29
    -0
      api.md

+ 29
- 0
api.md View File

@@ -28,4 +28,33 @@ The `/get` endpoint should return data in the form of:
]
}
}
```

## /search

/search?words=[words seperated by spaces]

```
// http://api.heb12.com/search?words=for%20god%20so%20loved
{
"error": 0,
"verses": [
"John 3 16"
]
}
```

## Translations

```
/translations/json
/translations/split
/translations/xml
```

They can be git pulled from here:
```
https://github.com/heb12/gratis.json
https://github.com/gratis-bible/bible/tree/split
https://github.com/gratis-bible/bible
```

Loading…
Cancel
Save