Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New calls #2

Merged
merged 4 commits into from
Oct 29, 2024
Merged

New calls #2

merged 4 commits into from
Oct 29, 2024

Conversation

rafacc87
Copy link
Contributor

CORE
- ResultEntry
Models
- Config
- TorrentExtended
Calls
- ListTorrentsExtended (core.get_torrents_status)
- GetTorrentExtended
- AddTorrentByUrl (web.download_torrent_from_url and web.add_torrents)
- RecheckTorrents (core.force_recheck)
- ListConfigs (core.get_config)
Test
- Constants
- TestTorrentUrl (The Settlers II (Gold Edition) from https://archive.org/details/die_siedler_2_151)
- ConfigTest
- ListConfigs
- TorrentsTests
- ListAndGetTorrentExtended
- AddRemoveTorrentByUrl
- RecheckTorrents

Please check AddTorrentByUrl to see if the "web.add_torrents" object needs a model or is fine as is.

- Model
- Call
- Test
- Readme
- Call
- Test
- Readme
- DelugeResponse
- Call
- Test
- Constants
- Readme
- TorrentExtended
- Calls
- Test
- Readme
request.NullValueHandling = NullValueHandling.Ignore;
string pathTemp = await SendRequest<string>(request);

request = CreateRequest("web.add_torrents", new object[] { new object[] { new { options = new object { }, path = pathTemp } } });
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this not need a specific model, its nice like that

@valcriss valcriss merged commit 3c62189 into valcriss:main Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants