wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
337 stars 129 forks source link

How do I get the category name with the post? 🆘 #249

Closed IbrahimYkaya closed 3 years ago

IbrahimYkaya commented 3 years ago

client.Posts.GetAll().Result ;

somedatalist postid = client.Id.Tostring(); somedatalist titlename = client.Title.Rendered; ### up is okey but ı want down :( somedatalist categoryname = client.Categories ????? <---

i did try ToString() and getall() but give me nothing

IbrahimYkaya commented 3 years ago

I found a solution, it was an array, I did the Edit Thanks