Log in

Mon, Sep. 24th, 2007, 05:59 pm
yurikago: shipping api

Hey there. My name is corinne and I am a brand new member.
Honestly, I just joined to ask for help, but I have no prior experience with ruby on rails, so it's not going to be pretty. ;)

My prior experience has been in php and coldfusion, and I haven't done any programming in a while anyway, so I am out of practice... but I figured I'd see if anyone here knows where I can find the info I am looking for.

What I am hoping to find is a page that can explain how to use the shipping gem so that I can use UPS's shipping API to get rates and make shipping labels. I know it's a strange place to start, but if I can figure this out it will give me a chance to help a friend out. :D I have looked at the documentation from UPS, and the shipping gem readme, but I am too much of a beginner to understand what I need to do. So from there I tried to search for sites that would explain the concepts necessary in further details, but I haven't found anything yet.

So if anyone has any leads that could help me, or firsthand experience using these, I would really appreciate it. :)

Thanks a lot!

Mon, Sep. 24th, 2007 10:37 pm (UTC)

Ok, a first point is that I think this is really a general Ruby programming question, not a Rails question. But you didn't know that. Ruby is the programming language, and Rails is a web framework written in Ruby.

Have you installed Ruby yet, or done any basic Ruby programming? I would recommend you go through at least the first few chapters of Programming Ruby, to get a feel for the basics. That will teach you to install Ruby and write scripts.

Next you will need to learn a little about using Ruby Gems. But really only how to install one and how to call one from your script.

Then I guess you'll need to get account details for FedEx or UPS.

Hopefully by the time you've done those things, the readme for Shipping will make a bit more sense.

If you need to find out other things about Ruby, ruby-doc.org is a useful reference site.

Tue, Sep. 25th, 2007 05:16 am (UTC)
yurikago: Thank you!

Hi jag,
Thanks so much for taking the time to reply. :D
I have Ruby installed, but have only just looked at examples and not actually written anything, as you can tell by my total confusion about the nature of/difference between ruby and rails, which I think I've now got a grip on now since I spent some more time reading about it after I got your reply. So anyway, thanks a lot for your advice & these links. I really appreciate it!

Tue, Sep. 25th, 2007 03:57 am (UTC)

Hey Corinne,

This community is pretty low traffic. While we'll do our best to help, there are probably more effective forums for your questions. Luckily, there are a ton of Rails and Ruby books now, as jaq mentioned.

I recommend that you grab Beginning Rails from Apress. It's an excellent title. My girlfriend has been reading it and making progress, and she has no prior programming experience.


Tue, Sep. 25th, 2007 05:18 am (UTC)

Hi Pete,
Thanks a lot for the recommendation. :) I will check it out~