Emma Tebibyte
132d82680b
Merge pull request 'Fix error when no facets are specifed' ( #16 ) from BlankParenthesis/hopper:fix-filter into main
...
Reviewed-on: #16
2022-12-24 04:06:21 +00:00
Emma Tebibyte
5ae5aa668d
Merge pull request 'Implement Error parsing for API responses' ( #18 ) from BlankParenthesis/hopper:handle-status-errors into main
...
fixes #20
2022-12-24 03:56:06 +00:00
[ ]
552d75cbff
Implement Error parsing for API responses
2022-12-09 06:01:37 +00:00
[ ]
9064888265
Add User-Agent to requests
...
Modrinth strongly encourages (via the following response header) that
access to their services be done with a uniquely identifying user-agent
string.
> "x-user-agent-notice": "!!!!! Hey, you! Yes, **you**! You need to
> change your User-Agent ASAP or you may be blocked from using
> Modrinth's services! For more information see the documentation:
> https://docs.modrinth.com/api-spec/#section/User-Agents !!!!!"
The one added here follows the documentation recommendation for the
"best" example of a user-agent string.
2022-12-09 05:13:43 +00:00
[ ]
f7ba63b492
Fix error when no facets are specifed
...
The Modrinth API seemingly doesn't support an empty list for the facets
parameter. This solution simply skips adding that paremeter if it is
empty.
2022-12-09 04:18:15 +00:00
spookdot
ace6b25381
Add plugins and modpack distinction
2022-09-16 18:51:55 +02:00
spookdot
6b37d007c7
Added package type filter
2022-09-12 01:05:23 +02:00
spookdot
f5887df96d
Changed out StructOpt for Clap
2022-09-06 23:12:00 +02:00
Spookdot
f5b6afd790
Move functions into new HopperClient struct
2022-08-25 11:39:54 +02:00
Spookdot
7d3a1c4a66
Fix Type on nullable types
2022-08-20 00:27:24 +02:00
Spookdot
d2325fe31f
Update URLs and Structs for Modrinth API v2
2022-08-20 00:17:55 +02:00
mars
44a81cf148
Update Modrinth API objects
2022-08-13 18:01:44 -06:00
mars
ea28b0c904
Add logging of all requests
2022-08-13 18:01:25 -06:00
mars
8ea2a7777c
Clean up select_from_results and add ranged selection
2022-08-13 17:32:01 -06:00
marceline-cramer
b4ab1bf1d4
Split up source into several files
2021-12-10 21:20:26 -07:00
marceline-cramer
30e8c782df
Add option to restrict Minecraft version
...
Add log and env_logger
2021-12-10 21:03:04 -07:00
marceline-cramer
10d6710232
Properly pad mod indices
2021-12-10 20:40:26 -07:00
marceline-cramer
d60ae8aac7
Add License object
2021-11-30 17:34:48 -07:00
marceline-cramer
cbfaf4fd6e
Add get params to SearchArgs + migrate README todos
2021-11-30 17:30:29 -07:00
marceline-cramer
9c3e11f0d8
Remove reversed search results TODOs
2021-11-30 17:20:08 -07:00
marceline-cramer
814cf8ed36
Dynamic progress messages + TODOs
2021-11-30 16:09:38 -07:00
marceline-cramer
1fc350d269
Add -y flag
...
Refactor using AppContext (needs more work)
2021-11-30 12:31:47 -07:00
marceline-cramer
9a91ac5510
Add download progress bar
2021-11-30 12:17:55 -07:00
marceline-cramer
2f396b5e12
Add confirmation prompt to download
2021-11-30 11:55:50 -07:00
marceline-cramer
f58d25b54b
Multiselect results
2021-11-29 12:30:30 -07:00
marceline-cramer
2b63981d91
Download version file! :D
2021-11-28 17:33:38 -07:00
marceline-cramer
24d50b1e3c
Fetch mod version info
2021-11-28 17:21:18 -07:00
marceline-cramer
f4a6b94031
Remove substring dep
2021-11-21 20:56:17 -07:00
marceline-cramer
4444e8aae8
Add fetch_mod_info
2021-11-21 20:50:55 -07:00
marceline-cramer
2f088510ca
Config option for reverseable search
2021-11-21 19:00:53 -07:00
marceline-cramer
f124b405ac
Refactor searching
2021-11-21 18:50:59 -07:00
marceline-cramer
d7bd53a7a9
Refactor a little bit
2021-11-21 18:43:35 -07:00
marceline-cramer
a93559e17b
Improve result formatting
2021-11-21 11:41:39 -07:00
marceline-cramer
07891d62e5
Initial fancy search result formatting
2021-11-21 11:18:26 -07:00
marceline-cramer
40fbf94ce1
Properly query package name
2021-11-20 21:35:29 -07:00
marceline-cramer
0a21f51c7f
Fetch /api/v1/mod search results
2021-11-20 21:14:34 -07:00
marceline-cramer
54f3815361
Add tokio, anyhow, reqwest, and initial REST fetch
2021-11-20 20:28:49 -07:00
marceline-cramer
554f52056d
Load config file
2021-11-20 18:09:56 -07:00
marceline-cramer
cb68ce75f2
Add README notes
2021-11-20 17:45:32 -07:00
marceline-cramer
c4b5903e3a
Add initial command-line args
2021-11-20 17:42:42 -07:00
marceline-cramer
f954c90680
Initial commit
2021-11-20 10:00:38 -07:00