https://github.com/privoce/social-rss-api
social rss api service.
https://github.com/privoce/social-rss-api
Last synced: over 1 year ago
JSON representation
social rss api service.
- Host: GitHub
- URL: https://github.com/privoce/social-rss-api
- Owner: Privoce
- Created: 2021-01-19T06:08:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T07:08:54.000Z (over 5 years ago)
- Last Synced: 2025-04-23T19:06:07.194Z (over 1 year ago)
- Language: Go
- Size: 29.3 KB
- Stars: 4
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# social-rss-api
social rss api service.
## Models
### UserModel
| Key | Type | Required | Default |
| --------------- | ------ | -------- | ------- |
| nick_name | String | true | N/A |
| account | String | true | N/A |
| avatar_url | String | true | N/A |
### LookInModel
| Key | Type | Required | Default |
| --------------- | ------ | -------- | ------- |
| nick_name | String | true | N/A |
| time | String | true | N/A |
| url | String | true | N/A |
## API
### RSS LIST
#### `domain/nickname`
URL: `/NickName`
Method: `GET`
URL Param:
```json
curl —X GET http://localhost:8080/ding
```
Response:
Status Code: `200 | 400 | 401`
Cause: `success | user not exist | user look in no data`
```json
{
"code": 200,
"look_in": [
{
"nick_name": "ding",
"time": "2021-01-19 18:54:45",
"url": "https://github.com/higker"
},
{
"nick_name": "ding",
"time": "2021-01-19 18:54:45",
"url": "https://google.com/"
},
{
"nick_name": "ding",
"time": "2021-01-19 18:54:45",
"url": "https://google.com/"
}
],
"msg": "successful.",
"user_info": {
"nick_name": "ding",
"account": "ding@privoce.com",
"avatar_url": "https://iconfont.alicdn.com/t/1570850261949.png@100h_100w.jpg"
}
}
```