Inheritance
System.Object
ScraperExtensions
Assembly: Scraper.Net.Twitter.dll
public static class ScraperExtensions : object
Methods
|
Improve this Doc
View Source
Declaration
public static ScraperBuilder AddTwitter(this ScraperBuilder builder, TwitterConfig config = null, string platform = null)
Parameters
| Type |
Name |
Description |
| ScraperBuilder |
builder |
|
| TwitterConfig |
config |
|
| System.String |
platform |
|
Returns
| Type |
Description |
| ScraperBuilder |
A reference to this instance after the operation has completed
|
|
Improve this Doc
View Source
Declaration
public static Task<Author> GetTwitterAuthor(this IScraperService service, string id, CancellationToken ct = null)
Parameters
| Type |
Name |
Description |
| IScraperService |
service |
|
| System.String |
id |
|
| CancellationToken |
ct |
|
Returns
| Type |
Description |
| Task<Author> |
|
|
Improve this Doc
View Source
Declaration
public static IAsyncEnumerable<Post> GetTwitterPosts(this IScraperService service, string id, CancellationToken ct = null)
Parameters
| Type |
Name |
Description |
| IScraperService |
service |
|
| System.String |
id |
|
| CancellationToken |
ct |
|
Returns
| Type |
Description |
| IAsyncEnumerable<Post> |
|