Skip to content

Usage of 'LocationID' in object creation as a 'VARIABLE' not as 'const int' #4

Description

@ghulamsarwar123

Dear sir,
I have been using this library for making a WeatherStation and Smart Home Project but a problem that i am facing is that I do not want to enter the locationID as 'const int'. I want it to be a variable so that i can recover cityKey (say 123456) from JSON response of Location Information.

Accuweather(const char apiKey, const int locationID, const char languageID, const bool isMetric)**

I succeed in recovering it as an integer but, unfortunately, i am unable to use it for creating an Object.
Need support please!

Thanks in anticipation,

Engr. Ghulam Sarwar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions