Commit graph

58 commits

Author SHA1 Message Date
bytedream
cba8968f17 Resolve conflics 2022-06-26 14:41:42 +02:00
bytedream
fa2321e9e8 Rename 'Logout' to 'InvalidateSession' 2022-06-23 17:40:29 +02:00
bytedream
2067c50937 Add logout endpoint 2022-06-21 22:04:22 +02:00
bytedream
f71846628d Refactor crunchyroll.go 2022-06-21 22:02:18 +02:00
bytedream
ec872d8c86 Move functions into their own, separate files & add docs 2022-06-21 21:15:49 +02:00
bytedream
d1859b4c25 Change const names to make them more readable 2022-06-21 17:43:12 +02:00
bytedream
715ade831c Add more account and profile endpoints 2022-06-20 10:22:17 +02:00
bytedream
0c93893627 Fix error handling caused panic (again) 2022-06-19 13:38:41 +02:00
bytedream
475dc34f7a Fix error handling caused panic 2022-06-19 13:31:29 +02:00
bytedream
9f6a225caf Add better error output 2022-06-19 02:00:58 +02:00
bytedream
72484c78af Add crunchylists endpoint 2022-06-19 01:56:39 +02:00
bytedream
5709012dfe Add custom error for internal request 2022-06-19 00:36:27 +02:00
bytedream
c5f2b55f34 Add watchlist endpoint, add new request method & change SortType name and consts 2022-06-19 00:22:38 +02:00
bytedream
137f3779ea Fix merge issues again, I love this shit 2022-06-10 16:12:58 +02:00
ByteDream
ae075ed4c9
Merge branch 'next/v3' into v3/feature/non-premium-support 2022-06-10 16:04:25 +02:00
bytedream
38fe521d55 Resolve more merge conflicts which GitHub didn't save lul 2022-05-30 12:32:13 +02:00
ByteDream
35b1cbbdb4
Fix typo 2022-05-30 12:27:20 +02:00
ByteDream
3a7ec02598
Resolve merge conflicts 2022-05-30 12:24:54 +02:00
ByteDream
0092867b97
Merge branch 'next/v3' into v3/feature/common-api-endpoints 2022-05-30 12:19:20 +02:00
bytedream
1c37c3e699 Add method parameter to internal request function 2022-05-30 12:08:52 +02:00
ByteDream
b53256ca3f
Use Account struct directly instead of maps 2022-05-29 10:10:48 +02:00
IchBinLeoon
acc6c63ebd Fix comment 2022-05-29 01:42:24 +02:00
IchBinLeoon
7897da3baf Add account and update comments 2022-05-29 00:21:17 +02:00
IchBinLeoon
cf35596985 Add watch history 2022-05-28 19:55:56 +02:00
IchBinLeoon
08c46e50bb Add new endpoints 2022-05-27 19:05:35 +02:00
bytedream
c94ce0fb59 Fix country code not set 2022-05-27 15:58:28 +02:00
bytedream
638689ee32 Add new login method & deprecated login with session id 2022-05-27 15:13:15 +02:00
bytedream
382d19ee94 Fix login not working with session id 2022-05-27 11:17:08 +02:00
bytedream
b70bf9902b Add error return in some login failure cases (#30) 2022-05-18 11:01:49 +02:00
bytedream
f51bdeaec7 Add error return in some login failure cases (#30) 2022-05-16 20:03:52 +02:00
bytedream
62735cf07c Change request url for some request & regex 2022-05-16 19:28:05 +02:00
bytedream
192a85afb8 Use fmt.Errorf instead of errors.New & new invalid session id error message 2022-05-13 19:53:16 +02:00
bytedream
5e3636015b Remove AccessError error struct 2022-05-07 10:46:25 +02:00
Hekmon
362708cf35
handle json unmarshall error 2022-04-29 11:45:00 +02:00
Hekmon
187a0c8817
add missing defer 2022-04-29 11:43:43 +02:00
Hekmon
aa3f8e1b34
handle json parsing errors 2022-04-29 11:42:25 +02:00
Hekmon
353f425bbf
typo fix 2022-04-29 11:36:45 +02:00
Hekmon
db47eeb11c
handle login with creds errors 2022-04-29 11:34:17 +02:00
Hekmon
037df1d16f
handle session queries not being valid 2022-04-29 11:31:01 +02:00
bytedream
3617955bc5 Fix typos & add more comments 2022-04-16 00:17:36 +02:00
bytedream
2e9ce3cf52 Deprecated find video and optimized find episode (as result of #22) 2022-04-15 23:45:09 +02:00
bytedream
253d8712c8 Add /videos suffix support for classic series url 2022-04-15 22:34:45 +02:00
bytedream
02bd33ef59 Deprecate pure crunchyroll classic url functions 2022-04-15 22:14:11 +02:00
bytedream
ac7904668f Added context to the crunchyroll struct 2022-03-21 16:55:27 +01:00
bytedream
16fcf08f34 Replaced ioutil package with io 2022-03-15 22:13:28 +01:00
bytedream
647eb075e5 Renamed parameter in LoginWithCredentials 2022-02-28 17:42:47 +01:00
bytedream
777738a1a1 Changed spanish latin america and arabic locale & added portuguese 2022-02-24 21:22:58 +01:00
bytedream
a5d9696c9c Added caching 2022-02-07 14:07:35 +01:00
bytedream
21619fe333 Removed deprecated functions 2022-01-18 23:46:07 +01:00
bytedream
6b2d7c6e27 Removed FindVideo & FindEpisode; added FindVideoByName & FindEpisodeByName 2022-01-17 13:44:48 +01:00