# Getting Rates from FedEx Web Services

**URL:** <https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228>\
**Category:** Rails\
**Created:** [May 18, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228 "2009-05-18T15:36:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [May 18, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228/1 "2009-05-18T15:36:57Z")

</div>

I am looking to retrieve just rate information from FedEx Web Services  
API. I have the account information setup. After reviewing previous  
posts most people recommend the Shipping gem. However, I only need to  
get the rates from FedEx, so adding a gem seems overkill.

Does anyone have code they are willing to share that pulls rates and  
parses the result? Any code samples or references are greatly  
appreciated.

Thanks,  
Jason

---

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [May 18, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228/2 "2009-05-18T16:35:16Z")

</div>

On Mon, May 18, 2009 at 6:35 AM, Jason [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks,  
> Jason

What do you mean you have the account information setup with FedEx? Are  
you  
the  
shipper in all cases? If this is the case, you should be able to use  
ActiveShipping:

> **[GitHub - Shopify/active\_shipping: ActiveShipping is a simple shipping...](https://github.com/Shopify/active_shipping/tree/master)**
>
> master

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [May 19, 2009, 1:42am UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228/3 "2009-05-19T01:42:05Z")

</div>

I simply mean that I have setup an account with FedEx (API Key, etc).

I will take a look at ActiveShipping, as I also am working on a PayPal  
script and leaning towards ActiveMerchant.

Does anyone know if installing these as a gem or plugin makes a  
difference on a shared hosting environment? I worry that because of it  
I won’t be able to use it in production.

---

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [May 19, 2009, 9:10am UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228/4 "2009-05-19T09:10:24Z")

</div>

On Mon, May 18, 2009 at 4:41 PM, Jason [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I simply mean that I have setup an account with FedEx (API Key, etc).
> 
> I will take a look at ActiveShipping, as I also am working on a PayPal  
> script and leaning towards ActiveMerchant.
> 
> Does anyone know if installing these as a gem or plugin makes a  
> difference on a shared hosting environment? I worry that because of it  
> I won’t be able to use it in production.

In general, each project owner will generally provide proper  
installation  
instructions.

Good luck,

-Conrad
