https://github.com/pj8912/grepper-app
Application built using CodeGrepper API
https://github.com/pj8912/grepper-app
api codegrepper fetch-api get javascript php post rest-api snippets
Last synced: about 1 month ago
JSON representation
Application built using CodeGrepper API
- Host: GitHub
- URL: https://github.com/pj8912/grepper-app
- Owner: pj8912
- Created: 2023-01-02T08:03:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T15:34:25.000Z (about 3 years ago)
- Last Synced: 2025-01-11T11:12:38.077Z (over 1 year ago)
- Topics: api, codegrepper, fetch-api, get, javascript, php, post, rest-api, snippets
- Language: Hack
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grepper-app
Application built using CodeGrepper API
CodeGrepperAPI: https://github.com/Code-Grepper/Code-Grepper-API-Documentation
## Working
The `needed answers` are used to fetch the queries and `publish answer` allows us to publish answer for a query we click on.
Two APIs are used:
- Needed Answers
- Publish Answer
### Needed Answers
This API allows us to fetch Queries that needed answers
### Publish Answer
This API allows us to publish answer for a search term/query
------------------
Authorization depends upon the type of API you use.
*** The important things that are required for authorization are your `userid` and `access-token` ***
Get Your Access Token : https://github.com/Code-Grepper/Code-Grepper-API-Documentation/blob/main/docs/auth/TOKEN.MD
------------------
## Fetched Needed Answers

click uploadanswer to upload answer to that specific query. This uses the Needed Answers API
## Publish Answer

This API requires the `query`, `language` and the `answer` to publish the answer.
## Search and Similar Queries

This uses `Get Answers` and `SIMILIARQUERIES` API for getting answers for our query and similar queries respectively
`Get Answers` API : https://github.com/Code-Grepper/Code-Grepper-API-Documentation/blob/main/docs/answers/GETANSWERS.MD
`SIMILARQUERIES` API: https://github.com/Code-Grepper/Code-Grepper-API-Documentation/blob/main/docs/answers/SIMILIARQUERIES.MD