Closed JonathanR25 closed 2 months ago
Here is an example that you can use to set the Name and Tags for a profile through the API:
Name:
const createProfileRequest = BuilderForCreateProfile
.forBaseProfile(chromeBaseProfileList[0].id)
.setRecommendedDefaults()
.setName('ScrapingProfile1')
.build();
const profile = await client.createProfile({ body: createProfileRequest });
Tags:
const createProfileRequest = BuilderForCreateProfile
.forBaseProfile(chromeBaseProfileList[0].id)
.setRecommendedDefaults()
.setTags(['scraping', 'automation'])
.build();
const profile = await client.createProfile({ body: createProfileRequest });
These answers are provided from the Kameleo Set Names and Tags from API article.
What would be the proper code syntax form to set the Name and Tags for a profile from the Kameleo API?
Also, could your provide some example code?