METHOD | POST |
---|---|
URL | /extract-text-from-pdf |
Request Type | urlencoded |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
fileURL | text | true | ||
pdf_password | Enter the password if pdf is password protected. | text | false |
Method | POST |
---|---|
URL | /extract-text-from-pdf |
Headers | Content-Type: application/octet-stream |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
pdf_password | Enter the password if pdf is password protected. | text | false |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
PDF File | Binary data of the PDF File | binary | True |
curl -X POST 'https://pdf.msquare.pro/extract-text-from-pdf?appName=DocCrafter&fileURL=https://www.africau.edu/images/default/sample.pdf&pdf_password=1234' \
-H 'authorization: YourAuthTokenHere' \
-H 'content-type: application/x-www-form-urlencoded' \
-d ''
Method | POST |
---|---|
URL | /pdfWithImages-to-text |
Headers: | Content-Type: multipart/form-data |
type: | multipart/form-data |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
file | PDF File | file | True | |
text_language | Select image text language for better accuracy. | text | false | Afrikaans Amharic Arabic Assamese Azerbaijani Azerbaijani (Cyrillic) Belarusian Bengali Tibetan Bosnian Breton Bulgarian Catalan Cebuano Czech Chinese Simplified Chinese Simplified (Vertical) Chinese Traditional Chinese Traditional (Vertical) Cherokee Corsican Welsh German Divehi Dzongkha Greek English Middle English Esperanto Math / Equation Detection Estonian Basque Faroese Persian Filipino Finnish French Frankish Middle French Frisian Scottish Gaelic Irish Galician Ancient Greek Gujarati Haitian Creole Hebrew Hindi Croatian Hungarian Armenian Inuktitut Indonesian Icelandic Italian Old Italian Javanese Japanese Japanese (Vertical) Kannada Georgian Old Georgian Kazakh Khmer Kyrgyz Kurdish (Kurmanji) Korean Lao Latin Latvian Lithuanian Luxembourgish Malayalam Marathi Macedonian Maltese Mongolian Maori Malay Burmese Nepali Dutch Norwegian Occitan Oriya Orientation and script detection (OSD) Punjabi Polish Portuguese Pashto Quechua Romanian Russian Sanskrit Arabic Script Armenian Script Bengali Script Canadian Aboriginal Script Cherokee Script Cyrillic Script Devanagari Script Ethiopic Script Fraktur Script Georgian Script Greek Script Gujarati Script Gurmukhi Script HanS Script HanS (Vertical) Script HanT Script HanT (Vertical) Script Hangul Script Hangul (Vertical) Script Hebrew Script Japanese Script Japanese (Vertical) Script Kannada Script Khmer Script Lao Script Latin Script Malayalam Script Myanmar Script Oriya Script Sinhala Script Syriac Script Tamil Script Telugu Script Thaana Script Thai Script Tibetan Script Vietnamese Script Sinhalese Slovak Slovenian Sindhi Spanish Old Spanish Albanian Serbian Serbian (Latin) Sundanese Swahili Swedish Syriac Tamil Tatar Telugu Tajik Thai Tigrinya Tongan Turkish Uighur Ukrainian Urdu Uzbek Uzbek (Cyrillic) Vietnamese Yiddish Yoruba |
pdf_password | Enter the password if pdf is password protected | text | false |
Method | POST |
---|---|
URL | /pdfWithImages-to-text |
Headers: | Content-Type: application/json |
type: | json |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
pdf_url | text | True | ||
text_language | Select image text language for better accuracy. | text | false | Afrikaans Amharic Arabic Assamese Azerbaijani Azerbaijani (Cyrillic) Belarusian Bengali Tibetan Bosnian Breton Bulgarian Catalan Cebuano Czech Chinese Simplified Chinese Simplified (Vertical) Chinese Traditional Chinese Traditional (Vertical) Cherokee Corsican Welsh German Divehi Dzongkha Greek English Middle English Esperanto Math / Equation Detection Estonian Basque Faroese Persian Filipino Finnish French Frankish Middle French Frisian Scottish Gaelic Irish Galician Ancient Greek Gujarati Haitian Creole Hebrew Hindi Croatian Hungarian Armenian Inuktitut Indonesian Icelandic Italian Old Italian Javanese Japanese Japanese (Vertical) Kannada Georgian Old Georgian Kazakh Khmer Kyrgyz Kurdish (Kurmanji) Korean Lao Latin Latvian Lithuanian Luxembourgish Malayalam Marathi Macedonian Maltese Mongolian Maori Malay Burmese Nepali Dutch Norwegian Occitan Oriya Orientation and script detection (OSD) Punjabi Polish Portuguese Pashto Quechua Romanian Russian Sanskrit Arabic Script Armenian Script Bengali Script Canadian Aboriginal Script Cherokee Script Cyrillic Script Devanagari Script Ethiopic Script Fraktur Script Georgian Script Greek Script Gujarati Script Gurmukhi Script HanS Script HanS (Vertical) Script HanT Script HanT (Vertical) Script Hangul Script Hangul (Vertical) Script Hebrew Script Japanese Script Japanese (Vertical) Script Kannada Script Khmer Script Lao Script Latin Script Malayalam Script Myanmar Script Oriya Script Sinhala Script Syriac Script Tamil Script Telugu Script Thaana Script Thai Script Tibetan Script Vietnamese Script Sinhalese Slovak Slovenian Sindhi Spanish Old Spanish Albanian Serbian Serbian (Latin) Sundanese Swahili Swedish Syriac Tamil Tatar Telugu Tajik Thai Tigrinya Tongan Turkish Uighur Ukrainian Urdu Uzbek Uzbek (Cyrillic) Vietnamese Yiddish Yoruba |
pdf_password | Enter the password if pdf is password protected | text | false |
curl -X POST 'https://pdf.msquare.pro/pdfWithImages-to-text?appName=DocCrafter' \
-H 'content-type: application/json' \
-H 'authorization: YourAuthTokenHere' \
-d '{"pdf_url":"https://www.africau.edu/images/default/sample.pdf","text_language":"eng"}'
Method | POST |
---|---|
URL | /pdfFormToJSON |
Request Type | urlencoded |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
fileURL | PDF Form File URL | text | true | |
pdf_password | Enter the password if pdf is password protected. | text | false |
Method | POST |
---|---|
URL | /pdfFormToJSON |
Headers | content-Type: multipart/form-data |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
file | PDF Form File | file | True | |
pdf_password | Enter the password if pdf is password protected. | text | false |
curl -X POST \
'https://pdf.msquare.pro/pdfFormToJSON?appName=DocCrafter&fileURL=https://royalegroupnyc.com/wp-content/uploads/seating_areas/sample_pdf.pdf' \
-H 'Authorization: ***' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d '{}'
Method | POST |
---|---|
URL | /convertPDFToCSV |
Headers: | Content-Type: application/x-www-form-urlencoded |
Method | POST |
---|---|
URL | /convertPDFToCSV |
Headers: | Content-Type: multipart/form-data |
Attribute | Description | Type | Required | Option |
---|---|---|---|---|
file | PDF File | file | True | |
pdf_password | Enter the password if pdf is password protected. | text | false |
curl -X POST 'https://pdf.msquare.pro/convertPDFToCSV?appName=DocCrafter' \
-H 'authorization: ***' \
-H 'content-type: application/x-www-form-urlencoded' \
-d '{
"fileURL": "https://file-examples.com/storage/fe165662b6657a0549b59ee/2017/10/file-sample_150kB.pdf"
}'