All URIs are relative to https://api.dtf.ru/v1.6
Method | HTTP request | Description |
---|---|---|
GetFlashholder | GET /getflashholdedentry | |
GetTimeline | GET /timeline/{category}/{sorting} | |
GetTimelineByHashtag | GET /timeline/mainpage | |
GetTimelineNews | GET /news/default/recent |
InlineResponse2001 GetFlashholder ()
Получить прикрепленную запись
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetFlashholderExample
{
public void main()
{
var apiInstance = new TimelineApi();
try
{
InlineResponse2001 result = apiInstance.GetFlashholder();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TimelineApi.GetFlashholder: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetTimeline (string category, string sorting, long? count, long? offset)
Возвращает ленту записей
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetTimelineExample
{
public void main()
{
var apiInstance = new TimelineApi();
var category = category_example; // string | category entries
var sorting = sorting_example; // string | sorting entries
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetTimeline(category, sorting, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TimelineApi.GetTimeline: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
category | string | category entries | |
sorting | string | sorting entries | |
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetTimelineByHashtag (string hashtag, long? count, long? offset)
Получить ленту записей по хэштегу
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetTimelineByHashtagExample
{
public void main()
{
var apiInstance = new TimelineApi();
var hashtag = hashtag_example; // string |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetTimelineByHashtag(hashtag, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TimelineApi.GetTimelineByHashtag: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
hashtag | string | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetTimelineNews (long? count, long? offset)
Получить ленту новостей
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetTimelineNewsExample
{
public void main()
{
var apiInstance = new TimelineApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetTimelineNews(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TimelineApi.GetTimelineNews: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]