arambert / semrush Goto Github PK
View Code? Open in Web Editor NEWClient for the SemRush API
License: MIT License
Client for the SemRush API
License: MIT License
I believe this is possible by using the 'display_filter' paramater in the semrush docs. Is this paramater available in the gem?
The pony gem dependency seems out of place to me and caused problems with email_spec gem. If email_spec sees you have pony, it assumes you're not using ActionMailer. So for us, this meant that I had to define load order manually to make sure pony loaded after email_spec.
Three alternatives:
If one of these options was acceptable/preferred, I could do a PR when I have time.
Can't seem to figure out how I would run a keyword overview against all regional databases. In the API, it's the phrase_all call.
I tried passing in both an array and a comma delimited string of multiple regional databases to the db property, but it didn't work.
In other words, if I wanted to get search volumes for all regional databases, is there a way to get them all in a single call? Or do I have to make a call for all the individual databases ("us", "uk", "ca", "ru", etc.) and add them all up? Seems like that would eat up my credits fairly quickly.
Thanks!
Hi,
trying to query the keyword 'mode & pries' the SEMrush API returns:
{ "error": "ERROR 122 :: WRONG FORMAT OR EMPTY KEY", "exec_time": 0.000661 }
The gem produces this request:
'http://de.api.semrush.com/?action=report&type=phrase_this&phrase=mode%20&%20pries&key=XXXXXXXXXXXXXXXX&export=api
but it should escape the '&' into '%26', resulting in this request:
'http://de.api.semrush.com/?action=report&type=phrase_this&phrase=mode%20%26%20pries&key=XXXXXXXXXXXXXXXX&export=api
Hi,
in this line:
csv.shift is sometimes nil, resulting in an exception. This seems to happen randomly. Do you have an idea what may be causing this? Maybe an empty response?
If I do this :
Semrush.api_key = 'api key1'
puts Semrush::Report.remaining_quota
Semrush.api_key = 'api key 2'
puts Semrush::Report.remaining_quota
The last call use the same @remaining_quota_url with wrong api key.
If this behaviour is not wanted, I would suggest that @remaining_quota_url is niled on api_key updates
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.