Skip to main content

django-tapatalk

A DjangoBB Tapatalk API implementation

Django Tapatalk tries to implement all the v3 api calls for tapatalk. The default methods are for djangobb, but are easily extended to your own methods (see ‘Customization’ section, for the TAPATALK_METHODS mapping).

Requirements

It’s recommended that you also use django-messages (<http://code.google.com/p/django-messages/>), if you want to use PM’s out of the box (or provide your own implementation, see the ‘settings’ section).

Installation

The easiest way is via pip:

pip install django-tapatalk

Or you could retrieve the source from github or pypy, and install it via the setup.py.

Usage

Register tapatalk in your INSTALLED_APPS section of your project’ settings, and add these urls to your installation:

(r'^tapatalk/', include('tapatalk.urls')),
(r'^forum/mobiquo/', include('tapatalk.urls')),

The 2nd line is optional, but that is the default directory Tapatalk will look for, so I recommend you add it.

Customization

If you want to customize some methods, for instance, your login procedure, you define your own methods. Every method gets the request variable as first argument, and it’s recommended that you use the standard request.user for referencing the current logged in user.

You can register extra methods or custom methods via the TAPATALK_METHODS variable:

TAPATALK_METHODS = (
  ('my.awesome.login', 'login'),
  ('myapp.get_config', 'get_config'),
  ('myapp.get_forum', 'get_forum'),
  ('myapp.search_topic', 'search_topic'),
  ('myapp.get_online_users', 'get_online_users'),
  ('moar.awesomeness.ponies', 'ponies'),
  # etc.
)

Features

  • Login via standard Django/djangobb login

  • Participated topics

  • List all topics

  • Read topic

  • Create topic

  • Reply to topic

  • Edit post

  • Forum listings

  • Stickie listings

  • Announcements

  • Subscriptions (Post)

  • Search (Post/Topic)

  • Private Messages, inbox/sent

  • Send, replying and reading of Private Messages

  • Online users

  • User profiles

  • User posts, user topics

Missing:

  • Mark all as read

  • Pagination(!)

  • Subscriptions (Forum) (djangobb doesn’t support forum subscriptions afaik)

  • The user avatars are not implemented correctly

  • Moar tests

Help!

Please help out by sending a pull request, or send me a github message

Acknowledgement

I wish no one has to endure implementing the Tapatalk api as I did, the documentation is bad. The Tapatalk app makes weird assumptions and will fall back to undocumented features whenever you do something wrong, without letting you know why, or how to fix the problem. This implementation is based upon reverse engineering of the protocol over Charles and looking at the php source code for some of the plugins…

So, I know I will never get those countless hours back to my life, but let’s hope I can save some of yours. If you have any questions, please let me know, as I will be glad to help. Also, be sure to checkout the tapatalk forums, as there are some nice and smart people there :)

Metadata

Release files for django-tapatalk 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tapatalk 0.5.4
File Size Uploaded Provenance Actions
django-tapatalk-0.5.4.tar.gz 10.1 kB Without provenance Details for django-tapatalk-0.5.4.tar.gz

Release files / django-tapatalk-0.5.4.tar.gz

Download URL django-tapatalk-0.5.4.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e9b2adf7864d7c9f2bacf2160a7b3360de85afe2b9045209822ec44d4919a5b1
BLAKE2b-256 checksum
How to use checksums
f0b254081b728f7bd66baac1b6033371b5ac4be496b9ee695255429f2cf520c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-tapatalk 0.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page