帮酷LOGO
  • 显示原文与译文双语对照的内容
文章标签:informat  relate  REL  INF  API  info  
API to get horoscope and other related information.

  • 源代码名称:Horoscope-API
  • 源代码网址:http://www.github.com/tapasweni-pathak/Horoscope-API
  • Horoscope-API源代码文档
  • Horoscope-API源代码下载
  • Git URL:
    git://www.github.com/tapasweni-pathak/Horoscope-API.git
  • Git Clone代码到本地:
    git clone http://www.github.com/tapasweni-pathak/Horoscope-API
  • Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/tapasweni-pathak/Horoscope-API
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
  • Horoscope

    提取占星术的API 。

    目录

    特性
    • 今日占星术
      • 分解为日期,sunsign和占星术。
    • 周占星术
      • sunsign,和占星术。
    • 月占星术
      • 分解为月sunsign和占星术。
    • 年占星术
      • 分解成一年,sunsign和占星术。
    API用法

    API基本网址: http://horoscope-api.herokuapp.com/

    结果:

    {
     "author": "Tapasweni Pathak", 
     "author_url": "http://tapasweni-pathak.github.io/", 
     "base_url": "horoscope-api.herokuapp.com", 
     "project_name": "Horoscope API", 
     "project_url": "http://tapasweni-pathak.github.io/Horoscope-API"}

    : /horoscope/today/<sunsign>

    示例

    使用方法的示例: GET http://horoscope-api.herokuapp.com/horoscope/today/Libra

    示例结果:

    {
     "date": "04-09-2014", 
     "horoscope": "It is very likely that you will arouse immense jealousy in others with your success and growth in business. Your business rivals may attempt to dent your credit worthiness in one way or the other. You may prefer to deal with them subtly rather than confront them openly, feels Ganesha. Astro Profile Uncover the real you, and see for yourself the cosmic map that Almighty has constructed for you. This specific arrangement of planets, the numbers and the stars at the time you were born makes you unique. Discover such aspects through the free Astro Profile report. Get It Now! ", 
     "sunsign": "libra"}

    : /horoscope/week/<sunsign>

    示例

    使用方法的示例: GET http://horoscope-api.herokuapp.com/horoscope/week/libra

    输出( 节选):

    {
    "horoscope":" Be prepared to face a hectic week, says Ganesha. Things that were dormant shall now start gaining momentum. Your financial graph will gradually start going up. Things on both the personal and professional fronts are likely to become smoother. Your relations with your bosses shall improve. Boss and You! Finding difficulty to get along with your superior in your office, our expert astrologers can help you out. Get this report to get guidance from an astrological standpoint u2013 as this report is based on your Natal Chart, it will be fully personalised for you. You shall be spending money on friends, but they shall return the favour by holding you in high regard and showering a lot of affection on you. This week, you shall also be able to earn through contacts and your reputation shall spread through word of mouth, fetching many assignments. This week is good for working with youngsters. That is to say, if you wish to impart training to the youngsters in your company or even in your family, this is the best week. Ganesha feels your approach towards social and personal issues shall be diplomatic. Birth Horoscope Use the power of Astrology to understand yourself in a better way and get a sense of direction and purpose in life. The cosmic imprint of the stars has a profound impact on your life. Unravel your true potential through the Birth Horoscope report, being offered for free. Get It Now!", 
     "sunsign": "libra", 
     "week": "31-08-2014 u2013 06-09-2014 "}

    : /horoscope/month/<sunsign>

    示例

    使用方法的示例: GET http://horoscope-api.herokuapp.com/horoscope/month/libra

    输出( 节选):

    {
    "horoscope":" Ganesha says brace up for a hectic month, as every aspect of your life shall keep you extremely busy. On the work front, your relations with seniors shall improve. As for work, you shall easily complete the projects assigned to you. Your social network and contacts shall matter a lot this month. You may also quit your job and start a business, to improve your financial condition. However, donu2019t take any hasty decisions, cautions Ganesha. You are likely to be tempted to take some drastic steps to improve your finances. However, you should consult experts before undertaking anything risky. Also, start saving and chart out your investment plans. Over the course of the month, your finances shall improve gradually. Gains through investments in business are also indicated. To get some valuable tips on how to improve your financial condition even more, try the Birth Chart based report Wealth Ask a Question Detailed. As per Ganesha, your personal life may be fairly smooth this month, provided you are flexible and accommodating. Planetary positions indicate that your stubbornness may negatively affect your spouse and other members of your family. Shani Dosha Shani Dosha occurs when Saturn, the feared, mighty planet, is debilitated or occupies any of the Cardinal Houses (1, 4, 7, 10) in Aries, Cancer, Leo, or Scorpio or is Retrograde or Combust (by Sun) in those Houses (whatever be the Sign, except Libra, Capricorn and Aquarius) in a Horoscope. These planetary positions can cause troubles for you. Find out and deal well! Get It Now!", 
     "month": "Sep 2014 ", 
     "sunsign": "libra"}

    : /horoscope/year/<sunsign>

    使用方法的示例: GET http://horoscope-api.herokuapp.com/horoscope/year/libra 输出( 节选):

    {
     "horoscope": "The planetary alignment indicate that you will have trouble controlling your temper during the year ahead. Be very careful of your words and actions as even petty issues may go out of hand in no time. As far as your love life is concerned, there will some ups and downs during year. Be unbiased and practical while sorting out issues with your beloved, else you will not be able to stop things from going bad to worse. This year, you need to be very clear about how you are going to handle your finances. According to Ganesha, you should pay special attention to your spendings and cash outflow. Whereas for your business, it may prove to be an excellent year. In all likelihood, you will come across lucrative business opportunities. The transiting Jupiter may bring you a favourable period on the career front in the form of a promotion or an increment. Well, be prepared to accept more responsibilities.",
     "sunsign": "libra",
     "year": "2014 "}
    待办事项
    • 个性配置文件
    • 关于Sunsign的事实
    • Sunsign实用的一面
    • 一个Sunsign的占星透视

    请随意提交请求请求或者问题 !

    注意:1: 这解析了 GaneshaSpeaks unofficialy 。 注意:如果API崩溃,请打开一个问题或者评论,对已经存在的问题,你正面临着问题。 这是让我知道API不工作的最好方法,避免发送电子邮件。

    Bitdeli Badge



    文章标签:API  REL  INF  info  informat  relate  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语