Forum Settings
Forums
New
Jun 21, 2017 7:36 AM
#1
Offline
Feb 2017
1
I'm creating a Discord bot and I want to have some myanimelist features, however, there is 0 information out there on how to use the API. I'm new to web developing (I'm a game developer) so I don't know what to make out of the instructions on the API page. Can anyone give me some pointers on using the API with node.js?
Jun 21, 2017 10:05 AM
#2

Offline
Nov 2016
11
I've seen this somewhere: https://myanimelist.net/malappinfo.php?u=xWheelerzzz&status=all&type=anime

And using this you could make a request in Node.js within your discord bot whenever someone says a command like in the spoiler below.

This request will give a reponse, and the response should be XML data.

From this data you can go onward to do whatever you want.

I have no idea how API should be used officially so I cannot say 100% this is how it's supposed to be used, this is just what I came up with after looking at a few things within a few minutes.

Jun 21, 2017 11:35 AM
#3

Offline
Nov 2016
11
xWheelerzzz said:
I have no idea how API should be used officially so I cannot say 100% this is how it's supposed to be used, this is just what I came up with after looking at a few things within a few minutes.


I can't seem to find the page anymore, but if I recall correctly you have to sign up for the official API, and you won't get any data if you don't..

However I did find this in the meantime: https://jikan.me/docs
You can find the forum post from Jikan here: https://myanimelist.net/forum/?topicid=1616529

As the other option I mentioned above, this is also not from the official API, but it should give you about the same (possibly more) information as the official.

More topics from this board

Sticky: » Inactive Username Request Thread ( 1 2 3 4 5 ... Last Page )

Kineta - Sep 21, 2015

3368 by L2Dragon »»
23 minutes ago

» ishinashi has 300 alt accounts and counting ( 1 2 3 )

deg - Jun 16, 2023

125 by traed »»
2 hours ago

» MAL Export

Devileeee - Sep 25, 2023

3 by zororo12 »»
Yesterday, 3:52 AM

» Problem with API OAuth2 Authentication Login

bidgetfoss_4000 - Yesterday

0 by bidgetfoss_4000 »»
Yesterday, 3:44 AM

» Question about parental consent

AverageRiceFan - Apr 16

1 by CareBear »»
Yesterday, 2:55 AM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login