I am trying to set up the coding environment to work with the admin API on a published site that I just got added to as an admin. When I followed the steps in the development notes I just seem to end up creating a new site and not where I can use the API. I know I need to use the content api key and the admin api key, but I am not even to a step where it makes sense to use them. I am wanting to set up a program that searches the tags for ones similar to one provided and then be able to choose which ones to merge.
I installed Ghost-CLI, and Ghost. Node, Ghost, and npm are the correct versions. What is the next step.
To use the Admin (or Content) API of any Ghost site, you technically don’t need neither of the tools you mentioned.
The developer documentation is mainly meant for developing on Ghost itself, e.g. building themes, contributing to the Ghost core, etc.
How specifically are you planning to use the API? Are you going to use a HTTP client (like Postman)? Or are you looking to integrate the Ghost API(s) into a different project?
To get started with the Admin API, I’d recommend looking specifically through the documentation, which also touches upon different methods of authentication (not quite trivial for the Admin API): Ghost Admin API Documentation
I was hoping to use the API to access the database and query tags to find similar ones and then replace tags on posts already made to a new standard tag. My plan is to use a HTTP client, possibly Postman if I can’t get a visual studio code environment setup.
Not quite sure hat exactly you’re trying to do - more details may get you better advice. But generically, if you want to talk to the API, I highly recommend looking for the AdminAPI or ContentAPI SDK, as they simplify a bunch of the process.