Western Astrology PDF
The Solar Return API generates PDF horoscope based on the birth details provided in the request data.
The request data also has number of other options such as border style, footer links, lord Ganesha picture style and other last page details. These options can be used to customise the PDF as per your company and brand requirement.
The PDF API in response provides you with a PDF URL from where either your user can download the PDF or you can directly send the PDF horoscope on your user’s email address. The usage of PDF horoscope can be completely customised as per your requirements.
Params | Data type | Descriptions |
name required | string | Name of the user, eg: "Ajeet Kanojia" |
day required | int | Birth date of the user, eg: 06 |
month required | int | Birth month of the user, eg: 01 |
year required | int | Birth year of the user, eg: 2000 |
hour required | int | Birth hour of the user, eg: 07 |
minute required | int | Birth minute of the user, eg: 45 |
latitude required | float | Latitude of user birth place, eg: 19.2056 |
longitude required | float | Longitude of user birth place, eg: 25.2056 |
language required | string | Pdf Language eg,en,hi,ma,bn,ta,te,kn,ml |
timezone required | float | Timezone of user birth place , eg: 5.5 |
place required | string | User birth place , eg: "Mumbai,Maharashtra India" |
solar_year required | int | Solar report year , eg: 2022 |
footer_link required | string | Your domain link , eg: "astrologyapi.com" |
logo_url required | string | Your company logo url , eg: "logo_url" |
company_name required | string | Your company name , eg: "Vedic Rishi Astro Solutions Pvt. Ltd." |
company_info required | string | NOTE- SHOULD BE LESS THAN 500 CHARACTER , eg: "Your Company Info" |
domain_url required | string | Your domain full url , eg: "https://www.astrologyapi.com" |
company_email required | string | Your company email , eg: "mail@astrologyapi.com" |
company_landline required | string | Your company Landline number , eg: "+91- 221232 22" |
company_mobile required | string | Your company mobile number, eg: "+91 1212 1212 12" |
Note : Language Abbreviations
Language Name | Language Code |
---|---|
English | en |
Brazilian Portuguese | pt |
German | de |
French | fr |
Spanish | es |
Italian | it |
Russian | ru |
{
"status" : true,
"pdf_url" : "https://s3.ap-south-1.amazonaws.com/pdfapilambda/4ec94020-d0ed-11ea-82a3-4537c4b389ce.pdf"
}
Following are the The Solar Return PDF API samples you can download. These generated PDFs are using AstrologyAPI branding and everything can be customised to suit your company branding and style.