- Login to the Magento Admin panel (ex http://example/magento/admin)
- Enter System -> Web Services -> SOAP/XML-RPC - Roles
- Click 'Add New Role' and enter a name for the role (ex. RJMRole) and click 'Save Role'
- Click Role Resources and change the dropdown selection from Custom to All and click 'Save Role'
- Enter System -> Web Services -> SOAP/XML-RPC - Users
- Click 'Add New User' and fill in the user form. Remember the username and API-Key (this is your password) we need these credentials to access your API and click 'Save User'
- Click User Role and select the Role you created in step 3 then click Save User
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Pet Sit</title> | |
| <meta name="description" content="Pro PetSit"> | |
| <link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
| <link href="/assets/bootstrap_and_overrides.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
| <link href="/assets/gmaps4rails.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
| <link href="/assets/pricing.css?body=1" media="all" rel="stylesheet" type="text/css" /> |
- Login to the Magento Admin panel (ex http://example/magento/admin)
- Enter System -> Web Services -> SOAP/XML-RPC - Roles
- Click 'Add New Role' and enter a name for the role (ex. RJMRole) and click 'Save Role'
- Click Role Resources and change the dropdown selection from Custom to All and click 'Save Role'
- Enter System -> Web Services -> SOAP/XML-RPC - Users
- Click 'Add New User' and fill in the user form. Remember the username and API-Key. We need these credentials to access your API and click 'Save User'
- Click User Role and select the Role you created in step 3 then click Save User
I hereby claim:
- I am smcavinney on github.
- I am smcavinney (https://keybase.io/smcavinney) on keybase.
- I have a public key whose fingerprint is 462F 46B8 53FD 6B33 7708 2060 2D7D 62DD 563C 1340
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # I'm not sure why I have so many conversions to integers for numbers. I'm guessing that I had one error and it was 4 am and I went overboard. | |
| require 'csv' | |
| # user's table from vandelay | |
| full_users = CSV.read("/Users/smcavinney/Desktop/customers.csv") | |
| subscription_users = [] | |
| #popping in 5000 all time subscribers | |
| while subscription_users.count < 5000 | |
| a_user = full_users.sample | |
| subscription_users << a_user unless subscription_users.include?(a_user) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rjmetrics_client' | |
| require 'CSV' | |
| require 'digest/md5' | |
| require 'benchmark' | |
| require 'json' | |
| require 'crack' | |
| require 'net/http' | |
| rj_client = RJMetricsClient.new([CID], "[IMPORT API KEY]") |