
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Yelpify is a Ruby gem that facilitates the use of the Yelp API's business and search functions for collecting data on local businesses.
Add this line to your application's Gemfile:
gem 'yelpify'
And then execute:
$ bundle
Or install it yourself as:
$ gem install yelpify
To begin use of Yelpify, you must first instantiate a new client by passing in a hash of the API keys acquired from Yelp (http://www.yelp.com/developers).
oauth_creds = {
consumer_key: <YELP KEY>,
consumer_secret: <YELP SECRET>,
token: <YELP TOKEN>,
token_secret: <YELP TOKEN SECRET>
}
client = Yelpify.create_new(oauth_creds)
Your new client is equipped with both search and business functionality.
All search requests can be made simply by using the #search method available through the Yelpify module and passing in a hash of search parameters:
search_params = {
location: 'austin',
category_filter: 'bars',
radius: 1610
}
client.search(search_params)
All business requests can also be made using the #business method available through Yelpify by passing in a business ID and optional search parameters:
client.business('firehouse-lounge-austin-3')
All query responses are parsed and returned as an OpenStruct. The information within that OpenStruct is accessible to you through dot-notation. Using the example query from earlier:
search_params = {
location: 'austin',
category_filter: 'bars',
radius: 1610
}
response = client.search(search_params)
response.businesses[0].name
# "Firehouse Lounge"
And an example using our previous business query:
client.business('firehouse-lounge-austin-3')
response.name
# "Firehouse Lounge"
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that yelpify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.