Skip to content

PyCrits bug - Campaign by Name #2

@tlansec

Description

@tlansec

Hi,

When executing the following code, the campaign is not retrieved successfully:

from pycrits import pycrits
crits = pycrits(uri,username,api_key)
params = { 'c-name' : 'somecampaign' }
print crits.campaign_by_name(params)

However, the following does allow you to retrieve it.

from pycrits import pycrits
crits = pycrits(uri,username,api_key)
params = { 'c-name' : '' }
print crits.campaign_by_name('somecampaign',params)

Not sure if this is by design, but given that an arg 'c-name' is parsed from campaign_by_name i would have expected it to be used in the query.

Cheers,
Tom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions