How to use Wikipedia's API for making auto response chatting software?

48 views
Skip to first unread message

sazzad hossain rafi

unread,
Dec 15, 2017, 1:22:43 PM12/15/17
to mitappinv...@googlegroups.com
I want to make a software which will give reply if I want to know about a certain thing.Like,if I said the app "United States " then it will give me information of "United States" from wikipedia which is  exactly found in 

I want to get the first paragraph of a Wikipedia article.


which was used to search books from amazon.Now I also want to make such a software which will give me results which I am wanting. If still there is confusion,please let me know. I will say more briefly. And I need this help,please

Taifun

unread,
Dec 15, 2017, 2:27:06 PM12/15/17
to MIT App Inventor Forum

sazzad hossain rafi

unread,
Dec 15, 2017, 3:42:36 PM12/15/17
to mitappinv...@googlegroups.com

Thanks .But what will be the base URL for wikipedia to show the first paragraph??As like your given link,here is a base url 




Would you like to help me building such app please??


Taifun

unread,
Dec 15, 2017, 3:46:58 PM12/15/17
to MIT App Inventor Forum
you can find that out in the Wikipedia API documentation
adjust the example to your needs...
Taifun

sazzad hossain rafi

unread,
Dec 15, 2017, 4:46:17 PM12/15/17
to MIT App Inventor Forum
I tried many time,but wasn't successful.Can you make and share .aia file??@Taifun
I will be very grateful to you

Taifun

unread,
Dec 15, 2017, 6:06:18 PM12/15/17
to MIT App Inventor Forum
.Can you make and share .aia file
sorry, no
did you read the API documentation?

what about sending a simple get request using the example URL?

Taifun

SteveJG

unread,
Dec 16, 2017, 9:39:01 AM12/16/17
to MIT App Inventor Forum
A different , very simple way to get information about something:




Regards,
Steve

SteveJG

unread,
Dec 17, 2017, 3:46:13 PM12/17/17
to MIT App Inventor Forum
Rather than replying directly to me, please use the Forum as intended and reply only in the Forum so others may share.  Thanks.


Reply all
Reply to author
Forward
0 new messages