프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetTorrent | WhatCD.Model.ActionTorrent.Torrent |
메소드 | 설명 | |
---|---|---|
Api ( string username, string password, bool errorOnMissingMember = false ) : System |
Logs the user on to what.cd.
|
|
Dispose ( ) : void |
Logs off the current session.
|
|
DownloadTorrent ( int torrentID ) : Torrent |
Downloads the torrent file.
|
|
GenerateTorrentDownloadUri ( int torrentID ) : |
|
|
GetAnnouncements ( ) : Announcements |
Gets the most recent announcements and blog posts.
|
|
GetArtist ( int artistID ) : WhatCD.Model.ActionArtist.Artist |
Gets artist information.
|
|
GetArtist ( string artistName ) : WhatCD.Model.ActionArtist.Artist |
Gets artist information.
|
|
GetBookmarksArtists ( ) : BookmarksArtists |
Gets artist bookmarks.
|
|
GetBookmarksTorrents ( ) : BookmarksTorrents |
Gets torrent bookmarks.
|
|
GetBrowse ( ISearchTorrents options ) : Browse |
Searches torrents.
|
|
GetCollage ( int collageID ) : Collage |
Gets information about a particular collage.
|
|
GetFlacLogScore ( string log ) : int |
Determines the rip log score out of 100.
|
|
GetForumMain ( ) : ForumMain |
Gets all forum categories.
|
|
GetForumViewForum ( int forumID, int page ) : ForumViewForum |
Gets a page of threads from a forum.
|
|
GetForumViewThread ( int postID ) : ForumViewThread |
Gets a page of forum thread posts where a specific thread exists.
|
|
GetForumViewThread ( int threadID, int page ) : ForumViewThread |
Gets a specific page of forum thread posts.
|
|
GetInbox ( IInbox options ) : Inbox |
Searches the contents of messages from either inbox or sentbox.
|
|
GetInboxViewConv ( int conversationID ) : InboxViewConv |
Gets all messages from a conversation.
|
|
GetIndex ( ) : Index |
Gets information about the current user.
|
|
GetNotifications ( int page ) : WhatCD.Model.ActionNotifications.Notifications |
Gets notifications.
|
|
GetRecords ( ) : |
Obtains the maximum uptime records for the site, tracker, and irc (hours).
|
|
GetRequest ( IGetRequest options ) : WhatCD.Model.ActionRequest.Request |
Gets information about a specific request.
|
|
GetRequests ( ISearchRequests options ) : Requests |
Searches requests. If no arguments are specified then the most recent requests are shown.
|
|
GetSimilarArtists ( int artistID, int limit ) : |
Gets similar artists. Note: the return response from the server does not conform to the standard JSON response pattern.
|
|
GetStatus ( ) : |
Determines if the site, tracker, and irc are online.
|
|
GetSubscriptions ( bool onlyShowUnread ) : Subscriptions |
Get forum scriptions.
|
|
GetTop10Tags ( int limit ) : Top10Tags |
Gets the top tags.
|
|
GetTop10Torrents ( int limit ) : Top10Torrents |
Gets the top torrents.
|
|
GetTop10Users ( int limit ) : Top10Users |
Gets the top users.
|
|
GetTorrent ( int id ) : WhatCD.Model.ActionTorrent.Torrent |
Gets information about a particular torrent.
|
|
GetTorrent ( string hash ) : WhatCD.Model.ActionTorrent.Torrent |
Gets information about a particular torrent.
|
|
GetTorrentGroup ( int groupID ) : TorrentGroup |
Gets a torrent group.
|
|
GetUptime ( ) : |
Obtains the current site, tracker, and irc uptime (hours).
|
|
GetUser ( int userID ) : User |
Gets user information.
|
|
GetUserSearch ( string searchTerm, int page ) : UserSearch |
Searches for users.
|
|
SessionIsValid ( ) : bool |
Verifies the current logged-on session is valid.
|
메소드 | 설명 | |
---|---|---|
GetTorrent ( |
Gets information about a particular torrent.
|
public Api ( string username, string password, bool errorOnMissingMember = false ) : System | ||
username | string | What.cd username. |
password | string | What.cd password. |
errorOnMissingMember | bool | If set to true then the deserialization process will raise an exception if any JSON members exist that do not exist in the model data. |
리턴 | System |
public DownloadTorrent ( int torrentID ) : Torrent | ||
torrentID | int | The ID of the torrent to download. Mandatory. |
리턴 | Torrent |
public GenerateTorrentDownloadUri ( int torrentID ) : |
||
torrentID | int | |
리턴 |
public GetArtist ( int artistID ) : WhatCD.Model.ActionArtist.Artist | ||
artistID | int | Artist ID. Mandatory. |
리턴 | WhatCD.Model.ActionArtist.Artist |
public GetArtist ( string artistName ) : WhatCD.Model.ActionArtist.Artist | ||
artistName | string | Artist Name. Mandatory. |
리턴 | WhatCD.Model.ActionArtist.Artist |
public GetBookmarksTorrents ( ) : BookmarksTorrents | ||
리턴 | BookmarksTorrents |
public GetBrowse ( ISearchTorrents options ) : Browse | ||
options | ISearchTorrents | Object that inherits from ISearchTorrents. |
리턴 | Browse |
public GetCollage ( int collageID ) : Collage | ||
collageID | int | Collage ID. Mandatory. |
리턴 | Collage |
public GetFlacLogScore ( string log ) : int | ||
log | string | Log file contents. |
리턴 | int |
public GetForumViewForum ( int forumID, int page ) : ForumViewForum | ||
forumID | int | Forum ID. Mandatory. |
page | int | Page number. Optional. |
리턴 | ForumViewForum |
public GetForumViewThread ( int postID ) : ForumViewThread | ||
postID | int | Post ID. Mandatory. |
리턴 | ForumViewThread |
public GetForumViewThread ( int threadID, int page ) : ForumViewThread | ||
threadID | int | Thread ID. Mandatory. |
page | int | Page number. Optional. |
리턴 | ForumViewThread |
public GetInbox ( IInbox options ) : Inbox | ||
options | IInbox | Object implementing the IInbox interface. |
리턴 | Inbox |
public GetInboxViewConv ( int conversationID ) : InboxViewConv | ||
conversationID | int | Conversation ID. Mandatory. |
리턴 | InboxViewConv |
public GetNotifications ( int page ) : WhatCD.Model.ActionNotifications.Notifications | ||
page | int | Notification page number. Optional. |
리턴 | WhatCD.Model.ActionNotifications.Notifications |
public GetRequest ( IGetRequest options ) : WhatCD.Model.ActionRequest.Request | ||
options | IGetRequest | Object that inherits IGetRequest |
리턴 | WhatCD.Model.ActionRequest.Request |
public GetRequests ( ISearchRequests options ) : Requests | ||
options | ISearchRequests | Object that inherits ISearchRequests. |
리턴 | Requests |
public GetSimilarArtists ( int artistID, int limit ) : |
||
artistID | int | Artist ID. Mandatory. |
limit | int | Maximum result limit. Mandatory. |
리턴 |
public GetSubscriptions ( bool onlyShowUnread ) : Subscriptions | ||
onlyShowUnread | bool | Only show subscribed forums with unread threads. Optional. |
리턴 | Subscriptions |
public GetTop10Tags ( int limit ) : Top10Tags | ||
limit | int | Maximum result limit. Acceptable values: 10, 25, 100, and 250. Optional. Default is 25. |
리턴 | Top10Tags |
public GetTop10Torrents ( int limit ) : Top10Torrents | ||
limit | int | Maximum result limit. Acceptable values: 10, 25, 100, and 250. Optional. Default is 25. |
리턴 | Top10Torrents |
public GetTop10Users ( int limit ) : Top10Users | ||
limit | int | Maximum result limit. Acceptable values: 10, 25, 100, and 250. Optional. Default is 25. |
리턴 | Top10Users |
public GetTorrent ( int id ) : WhatCD.Model.ActionTorrent.Torrent | ||
id | int | ID of torrent. Mandatory. |
리턴 | WhatCD.Model.ActionTorrent.Torrent |
public GetTorrent ( string hash ) : WhatCD.Model.ActionTorrent.Torrent | ||
hash | string | Hash of torrent. Mandatory. |
리턴 | WhatCD.Model.ActionTorrent.Torrent |
public GetTorrentGroup ( int groupID ) : TorrentGroup | ||
groupID | int | Group ID. Mandatory. |
리턴 | TorrentGroup |
public GetUserSearch ( string searchTerm, int page ) : UserSearch | ||
searchTerm | string | String to search for. Mandatory. |
page | int | Results page number. Optional. |
리턴 | UserSearch |