freamon, 2 months ago No settings page (as far as I’m aware), but you can use the API to get everything (posts, comments, etc): step 1: get login token - <span style="color:#323232;">curl --request POST </span><span style="color:#323232;"> --url https://lemmy.ml/api/v3/user/login </span><span style="color:#323232;"> --header 'accept: application/json' </span><span style="color:#323232;"> --header 'content-type: application/json' </span><span style="color:#323232;"> --data ' </span><span style="color:#323232;">{ </span><span style="color:#323232;"> "username_or_email": "2br02b", </span><span style="color:#323232;"> "password": "YOUR-PASSWORD" </span><span style="color:#323232;">} </span><span style="color:#323232;">' </span> step 2: use login token (big long string starting with ‘ey’) to get data - <span style="color:#323232;">curl --request GET </span><span style="color:#323232;"> --url 'https://lemmy.ml/api/v3/user?username=2br02b&page=1' </span><span style="color:#323232;"> --header 'accept: application/json' </span><span style="color:#323232;"> --header 'authorization: Bearer YOUR-JWT' </span> Increment page number until you have everything. source: lemmy.readme.io/reference/get_user
No settings page (as far as I’m aware), but you can use the API to get everything (posts, comments, etc):
step 1: get login token -
<span style="color:#323232;">curl --request POST </span><span style="color:#323232;"> --url https://lemmy.ml/api/v3/user/login </span><span style="color:#323232;"> --header 'accept: application/json' </span><span style="color:#323232;"> --header 'content-type: application/json' </span><span style="color:#323232;"> --data ' </span><span style="color:#323232;">{ </span><span style="color:#323232;"> "username_or_email": "2br02b", </span><span style="color:#323232;"> "password": "YOUR-PASSWORD" </span><span style="color:#323232;">} </span><span style="color:#323232;">' </span>
step 2: use login token (big long string starting with ‘ey’) to get data -
<span style="color:#323232;">curl --request GET </span><span style="color:#323232;"> --url 'https://lemmy.ml/api/v3/user?username=2br02b&page=1' </span><span style="color:#323232;"> --header 'accept: application/json' </span><span style="color:#323232;"> --header 'authorization: Bearer YOUR-JWT' </span>
Increment page number until you have everything. source: lemmy.readme.io/reference/get_user