Skip to content
lord63 edited this page Apr 25, 2014 · 5 revisions

Welcome to the kindledxpush wiki!

登录:

那个超长的链接玩意其实是那个sign inbutton的,而当填写邮箱和密码后点击登录后post的前11个 数据正是那个超长链接里type为hidden,input标签的的东西,剩下的4个为:

email:你的邮箱
create: 0  暂时不明
password: 你的密码
metadata1: 暂时不明是什么东西

get_content()下的url

https://www.amazon.com/gp/digital/fiona/manage/features/order-history/ajax/queryPdocs.html

post内容:

offset:0
count:15  # 一页上的文件数
contentType: Personal Documents
randomizer: 一串数字,不明
queryToken: 0
isAjax: 1

得到的的json

{
    "isError": 0,
    "signInRequired": 0,
    "debug": "",
    "error": "",
    "data": {
        "totalCount": 257,
        "hasMore": 1,
        "contentType": "Personal Documents",
        "offset": 0,
        "items": [
            {
                "orderDateNumerical": "2014-04-21T08:17:41",
                "numericSize": 1813322,
                "orderDate": "April 21, 2014",
                "filters": {
                    "Personal Documents": 1
                },
                "author": "KindleEar",
                "size": "1.7 MB",
                "capability": [
                    "EMAIL_ALIAS_SUPPORTED"
                ],
                "image": "https://images-na.ssl-images-amazon.com/images/G/01/digital/fiona/myk/pdoc._V155869332_.png",
                "renderDownloadElements": 1,
                "asin": "B7AZ5QDDL2WKXDOTC4M7R6WBHSV6Y6F2",
                "category": "kindle_pdoc",
                "title": "知乎日报 04-21",
                "isNotYetLaunched": 0
            },
            ....
     }
}

deliver_content()下的url:

https://www.amazon.com/gp/digital/fiona/content-download/fiona-ajax.html/ref=kinw_myk_ro_send

推送文件时要向以上链接post的数据

isAjax: 1
deviceID: your device id
contentName: 上面得到的json里的item下每个字典的'asin'的value
category: kindle_pdoc
title: json下item每个字典的'title'的value

发送成功的话

会向https://www.amazon.com/gp/digital/fiona/manage/features/order-history/ajax/blank.html/ref=kinw_myk_pdocs_deliver

post数据

isAjax: 1
Clone this wiki locally