Create your own API with Python and FastAPI with YiWen Hon
We are very excited to announce that the NHS-R Community will be hosting its annual conference, including pre-conference online talks, online workshops and the main conference, during October 2023.
The online conference workshop will be hosted via Zoom and take place on the following date:
Workshop Content
The objective of this workshop is to introduce Python users to the FastAPI package and show them how to build their own API, using free and open source tools. APIs are a great way of making machine learning models more accessible to a wider audience, reducing the technical barrier to entry.
We will begin with an overview of what APIs are and how they can be interrogated, and a revision of basic concepts such as the JSON data format, and how it is comprised of the lists and dict types. We will practice using the requests library to query a simple API endpoint. We will then move on to using FastAPI to build a very basic endpoint, using the Uvicorn package to test if it works on the local machine. After that, we will build a more complex API endpoint that accepts parameters, again testing if it works on the local machine. Depending on the progress of participants, we can also touch on more complex concepts such as validating parameters, POST requests, and documentation. The workshop will finish with suggestions for how the API can be made publicly available, with an overview of some hosting solutions, and common considerations such as authentication and security.
By the end of the workshop, participants should be able to:
Ticket Information
By registering for this event, you will qualify for the following:
Accessibility
A Zoom link will be provided to you to attend the conference workshop virtually. Please note that if subtitles are used, they are likely to be generated by Zoom thus, may encounter some issues converting technical language and acronyms to text.
If you require any additional information or have any accessibility requests, please do not hesitate to contact the Conference Team via nhs.rcommunity@nhs.net.
Additional Conference Related Activities
Please note that the conference will also include the following separate activities:
Conferences
October 2, 2023
1:30 pm - 5:00 pm
Online
20
19
Only authorised members can sign up to this event, please log in first to register.