This website provides a RESTful PVZ API interface to highly detailed objects built from thousands of lines of data related to Plants vs Zombies-2. We specifically cover the video game Plants vs Zombies-2. Using this website, you can consume information on plants,zombies and areas.
An API (Application Programming Interface) is a contract that allow developers to interact with an application through a set of interfaces. In this case, the application is a database of thousands of Plants vs Zombies-related objects, and the interfaces are URL links.
A RESTful API is an API that conforms to a set of loose conventions based on HTTP verbs, errors, and hyperlinks.
As far as we know there is no other API for Plants VS Zombies-2 though there are some websites exist. We aim to provide a single source of data that any number of other websites can consume and use.
We update often which prevents bugs and addition of new data about plants,zombies and areas after each update
Often, and especially when new Plants vs Zombies-2 updates are released, some PVZ websites take weeks to update as people have to enter the same information in all those different places. This solves that problem. If all those sites consumed their data from here, they would have the exact same information that is updated at exactly the same time, with no errors between each website. The overall benefit is a better collaboration and consistency across all the different PVZ websites and applications. It's good for all!
A lot
We currently have hundreds of individual items in our database, including:
And that's just scratching the surface! To see all the different types of data we have, check out the docs.
We know! Feel free to contribute to open issues on GitHub.
Suggestions and contributions are welcome for sure. contact and chat with the developers inGITHUB
PVZ API was created together byDaniel Jebarson and Jessej Samuel as a weekend project but it quickly became more than a weekend's worth of work. In January of 2022 we made a release on V1. Though majority of the frontend development was done by Jessej Samuel and the backend was done by Daniel Jebarson, both of us contributed to full stack development. We also thank ShrihariMohan for helping us in arrow keys up and down events to navigate the searched result .
We also have a GitHub organisation for contributors that you are welcome to join! . To join the organisation you can send a message to Dani_Cyber#3019 or CodeRxJesseJ#8889 on discord
We gathered the information on this site from various resources:
Up until January, the API and website were built together in a single JavaScript project using the Next JS framework and made itself a database that sends data as its own use in rendering image. Next REST Framework was used to expose the data through a RESTful API.
The entire stack was deployed at Vercel for free and the code lives in its own GITHUIB repository code-cracked/plants-vs-zombies-api.