Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alehander42/tracker_request
an elixir library for dealing with bittorrent tracker requests and responses
https://github.com/alehander42/tracker_request
Last synced: 3 days ago
JSON representation
an elixir library for dealing with bittorrent tracker requests and responses
- Host: GitHub
- URL: https://github.com/alehander42/tracker_request
- Owner: alehander92
- License: mit
- Created: 2014-12-30T17:14:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-30T17:19:22.000Z (almost 10 years ago)
- Last Synced: 2024-12-15T00:01:55.892Z (7 days ago)
- Language: Elixir
- Size: 97.7 KB
- Stars: 14
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Dealing with bittorrent tracker requests and responses. (Bittorrent)
- fucking-awesome-elixir - tracker_request - Dealing with bittorrent tracker requests and responses. (Bittorrent)
README
tracker_request
==============tracker_request is an elixir library for dealing with bittorrent tracker requests and responses
# Examples
```elixir
response = TrackerRequest.request torrent, listening_port: 6689, peer_id: generate_peer_id
#example data
# {:ok,
# %{"info_hash" => <<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 7>>,
# "interval" => 3600,
# "peers" => [%Peer{ip: '0.0.0.0',
# peer_id: <<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 7>>,
# port: 29299},
# %Peer{ip: '0.0.0.0',
# peer_id: <<0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 7>>,
# port: 29299}...]...}}
```## Install
Add to your mix.exs deps
```elixir
{:tracker_request, "~> 0.0.4"}
```## Copyright
Copyright (c) 2014-2015 Alexander Ivanov. See [LICENSE](LICENSE) for further details