 Thanks for coming here guys. I'm Shifa. I'm a BTEC graduate. So during my BTEC days I was not that much into coding. All I know was just a little bit of PHP. I started my career as PHP developer as the Chennai based company and later on I joined AppMaker.xyz and that was my life turning moment for me and that's the point where my WordPress career actually started. AppMaker.xyz started by Selie and Mohammad Aniz during their BTEC third year. So they were actually freelance developers doing some app thing for some clients and they noticed there are some like specs and requirements were almost same and they why not bring an automated platform to build native apps and that's the point where AppMaker.xyz was born. During the college days I have seen Selie he was my colleague. I can proudly say that he was my colleague and he faced a situation like a night before examination. They were an issue going on with apps of a client and they were so dedicated, so hard-working, they were into it and they solved it. Now we have clients from more than 50 countries and which is a great thing. We started with two members. Now we are of 18 members are there. Our plugin has 1000 plus active installations and one among the top rated WordPress mobile app plugins and we are also featured in your stories startup bar stop 15 list and we are so proud and I proudly say that I'm working as WordPress plugin developer at AppMaker.xyz. Before getting into the session may I know the like developers, how many developers are over here or something like that. Okay, thank you. So I'm going to deal with WordPress API integration. So what is an API? So during my college or something if somebody asked me what is an API, my answer will be API stands for application programming interface and then I don't know I just know API is application programming interface. Actually API just helps two applications to communicate each other. For example let me say a real life example. Perfect example like if oh I'm so sad today my heart is broken. So what do you do next? Go take a browser and search for heart broken codes and response will be like oh be sad when you are heart broken. So we are putting that as our WhatsApp or Insta status. I don't know what this emotions have to do with status and all. Anyways here we're sending a request to the server. Actually it's the API who receives the request and respond accordingly. So always remember API is on the server side not on the client side. Okay, there are many types of API. I'm going to say about Rust API. WordPress has its fully functional Rust API in the year 2016. The WordPress version 4.7. So Rust APIs is specifically designed to I mean retrieve the request and response for I mean for particular type of request using simple HTML commands or using simple HTML methods. So the response will be in JSON format. JSON is JavaScript object notation which is a textual representation of JavaScript object and the data will be in key value pairs. While in Rust API you have to be familiar with certain terms and one is routes and unpawns. It's better to say example than definition. So we have a built-in API to get all the posts list of a site. Like site URL slash WP JSON slash WP V2 posts will give you all the posts of a site. If you want to do more filtration like you can add category equal to this and per page equal to this and this will filter your response accordingly. And if you're not using hypertip amylings I'm not getting into what hypertip amylings is anyways if you are not using that you will get a 401 error and then you have to use query patterns like Rust underscore route for that. WP Rust request is the class that handles the request and WP Rust response is the class that handles responses. So we have certain structure for input and output and they're defined in API schema and using controller classes you can register routes, you can handle the request even you can make your own routes. These are the request, HTTP request that you get, pause, put and delete. Get is for retrieving the data. As I mentioned earlier the example for getting the post list it's a get request and next one is pause. It's for adding the data, put is for updating the data and delete as the name says it is for deleting the data. If you want to restrict the content and access to the users for restricted users only you have to do the authorization part. So WordPress provides cookie authentication it's a little bit difficult to use so we have to use other plugins for example basic authentication plugin but the drawback here is we have to pass username and password in each and every request for making it authorized. So it's for testing purpose and all it's okay but we have to use JWT plugin that is JSON web tokens plugin for authorization so here we can generate a token and this token can be used for further request authorization. So this is an example how we are creating the token like giving the route as WPJS and JWT or V1 slash token and here you are passing username and password and you can generate a token and this token can be used for further authorization and it's just extension of WP Rust API here I'm using Rust API in it as an action and the two routes, routes are of same name like custom slash v2 slash vue and one is for getting the latest post and the second one is for adding the post to the category. So I'm going to define these two functions first one is for getting the latest post here I'm passing the category as a pair and I'm using get them as for post function passing the category post per page offset and here I'm going to give back the post for particular function it's like post type 2 and next one is adding post to category. Here we have to give the body it's a post so it's post type 2, category type, whatever you want you can give it as parents and you can use WP insert the post to WordPress and get underscore post for retrieving the post. This is I'm using postman for showing the responses so that's our endpoint and we are funded typers application by json and this is how the response is going to be it is giving back the last I mean in a particular category the latest post is post 3 I'm giving it's uncategorized I think and the next one is for post action here WP json custom v2 new and using the same route and I'm passing the body as type 2 category content and the json will be like this and adding name post 4 into any category and make the status as published. The application so WordPress had many limitations actually the WordPress Rust API help the WordPress to connect with third-party application. So mobile apps is also a third-party application it uses Rust API and here comes the role of app picker or XYZ we convert WordPress or WooCommerce website into native apps in just seconds. Okay headless CMS means it just not have friend and the whole I mean the whole site will be managed with backend and API you can use WordPress as the backend CMS then the API to create the mobile apps or Jamstack sites Jamstack is for creating like websites apps with better performance security and all you can create Jamstack by using WordPress as the content manager back in CMS and by using WordPress Rust API you can actually spend less time in accessing the data and can spend more time in creating better and better user experience. So you can always contact me on email me at Shippa.paker.xyz and we have a stall over there there are many experts who always work on the day and night in Rust API you can contact with us we are very happy to help you thank you