omg... i've been trying to figure out why the internal pointer of an object that implements enable_shared_from_this
was empty for about half an hour now, and every shared_from_this
was giving me a bad_weak_ptr
...
turns out, i did this
class Addon : std::enable_shared_from_this<Addon> {
instead of
class Addon : public std::enable_shared_from_this<Addon> {
i haven't done any c++ recently, and i already forgot how inheritance works in c++ -_-
/v1/events.json
or whatever that endpoint is called. Dialogues? No.
public
keyword... :joy:
Getting started with API
by Ceddwen.7260 in API DevelopmentI've been interested in discussions I see about API but have to admit I'm a complete noob in this area! I can see how to create a key in my account, but then the article says to enter this into the box provided on the third-party site. This is where I'm immediately lost - I have no idea how to find a site or what I could get it to do for me. I've seen the Wiki whch is linked from one of the GW2 Forums (https://wiki.guildwars2.com/wiki/API:Main#Services) but this goes over my head.
Please can anyone point me in the direction of a very easy idiot's guide to getting started with API?Thanks!