mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] Add description about boobs request uri.
This commit is contained in:
@@ -18,6 +18,7 @@ public class OBoobsService : IRandomMediaService
|
|||||||
|
|
||||||
public async Task<RandomMedia> GetRandomMediaAsync()
|
public async Task<RandomMedia> GetRandomMediaAsync()
|
||||||
{
|
{
|
||||||
|
// "/boobs/{start=0; sql offset}/{count=1; sql limit}/{order=-id;[id,rank,-rank,interest,-interest,random]}/
|
||||||
var httpResp = await _httpClient.GetAsync("boobs/1/1/random");
|
var httpResp = await _httpClient.GetAsync("boobs/1/1/random");
|
||||||
var boobsResponse = JsonConvert.DeserializeObject<List<OBoobsItem>>(await httpResp.Content.ReadAsStringAsync());
|
var boobsResponse = JsonConvert.DeserializeObject<List<OBoobsItem>>(await httpResp.Content.ReadAsStringAsync());
|
||||||
var boobsItem = boobsResponse[0];
|
var boobsItem = boobsResponse[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user