# Rasa chatbot

**URL:** <https://forum.rasa.com/t/rasa-chatbot/16759>\
**Category:** Rasa Open Source\
**Created:** [September 21, 2019, 3:04pm UTC](https://forum.rasa.com/t/rasa-chatbot/16759 "2019-09-21T15:04:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newkid](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@Newkid](https://forum.rasa.com/u/Newkid)\
**Post date:** [September 21, 2019, 3:04pm UTC](https://forum.rasa.com/t/rasa-chatbot/16759/1 "2019-09-21T15:04:38Z")

</div>

Hello,

I just made my first rasa news bot which basically uses NY times API and gets top 5 news articles in categories like Sports, technology etc. I now want to modify this chatbot code and make it work as a University assistant,i.e, the chatbot should fetch relevant information from a university’s website in response to the student’s query. I want to know if I can achieve this by modifying the custom actions part of of my current chatbot? If so, how do I go about doing it? Are there any publicly available university API’s that I can use?

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [September 23, 2019, 4:57pm UTC](https://forum.rasa.com/t/rasa-chatbot/16759/2 "2019-09-23T16:57:36Z")

</div>

Hi @Newkid! Yes, you can make any API call from custom actions (e.g. using the [requests](https://pypi.org/project/requests/) library). I think you will want to look at each university and see if they have an API available. For example, the University of Michigan has an [API](https://pypi.org/project/requests/), and I imagine other universities likely do as well.

---

<div class="post-metadata">

**Author:** ![Newkid](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@Newkid](https://forum.rasa.com/u/Newkid)\
**Post date:** [September 24, 2019, 5:12pm UTC](https://forum.rasa.com/t/rasa-chatbot/16759/3 "2019-09-24T17:12:38Z")

</div>

@tyd Thanks a lot! I do not have much coding experience and am looking to modify the existing code in actions.py file. Please suggest if I can do this.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [September 25, 2019, 5:57pm UTC](https://forum.rasa.com/t/rasa-chatbot/16759/4 "2019-09-25T17:57:32Z")

</div>

@Newkid Yes, I would recommend calling the APIs in `actions.py` using the [requests](https://code.tutsplus.com/articles/how-to-use-restful-web-apis-in-python--cms-29493) library
