meapi: Unofficial api for โMe - Caller ID & Spam Blockerโ#
โ๏ธ meapi is a Python3 library to identify, discover and get information about phone numbers, indicate and report spam, get and manage socials, profile management and much more.
๐ To get started, read the Setup guide.
๐ For a complete documentation of available functions, see the Reference.
>>๏ธ For more information about Meยฎ - Click here.
๐ Installation#
Install using pip3:
pip3 install -U meapi
Install from source:
git clone https://github.com/david-lev/meapi.git
cd meapi && python3 setup.py install
๐ Features#
๐ Searching:#
๐ Search phone numbers
๐ Get full user profile: profile picture, birthday, location, platform, socials and more
๐ซ Spam indication and report
โ๏ธ Settings:#
โ Change profile information
๐ก Configure social settings
๐ Connect social networks (And get verified blue check)
โฌ Upload contacts and calls history
โ Block profiles and numbers
โ Delete or suspend your account
๐จโ๐ป Usage#
from meapi import Me
# Initialize the client in interactive mode:
me = Me(interactive_mode=True)
# โ Get information about any phone number:
res = me.phone_search('+972545416627')
if res:
print(res.name)
# ๐ Get user full profile:
if res.user:
user = res.user
print(f"{user.name=}, {user.email=}, {user.slogan=} {user.profile_picture=}")
profile = res.get_profile()
print(f"{profile.date_of_birth=}, {profile.location_name=}, {profile.gender=}, {profile.device_type=}")
# ๐ฑ Get social media accounts:
for social in profile.social:
if social:
print(f"Social media ({social.name}): {social.profile_url}")
for post in social.posts:
print(f"Post from {post.posted_at}:\n{post.text_first}\n{post.text_second}")
# ๐ฌ Watch, approve and like comments:
for comment in me.get_comments():
print(f"Comment from {comment.author.name}: {comment.message}")
if comment.status == 'waiting':
comment.approve()
# โ๏ธ Change your profile details:
my_profile = me.get_my_profile()
my_profile.first_name = 'David'
my_profile.last_name = 'Lev'
# ๐ด Get your profile in vCard format:
with open('/home/david/Downloads/my_vcard.vcf', 'w') as f:
f.write(my_profile.as_vcard(dl_profile_picture=True))
# ๐ฅ See how people call you:
for group in me.get_groups(sorted_by='count'):
print(f"People named you '{group.name}' {group.count} times")
# ๐ who watched your profile:
for watcher in me.who_watched(incognito=True, sorted_by='last_view'):
print(f"The user '{watcher.user.name}' watched you {watcher.count} times")
# ๐ who deleted you:
for deleted in me.who_deleted():
print(f"The user '{deleted.user.name}' deleted you at {deleted.created_at}")
# โ And much much more...
๐ For more usage examples, read the Examples page.
๐พ Requirements#
Python 3.6 or higher - https://www.python.org
๐ Setup and Usage#
See the Documentation for detailed instructions
โ Disclaimer#
This application is intended for educational purposes only. Any use in professional manner or to harm anyone or any organization doesnโt relate to me and can be considered as illegal. Me name, its variations and the logo are registered trademarks of NFO LTD. I have nothing to do with the registered trademark. Iโm also not responsible for blocked accounts or any other damage caused by the use of this library. it is always recommended to use virtual phone numbers for testing purposes.
๐ Contents#
- โ๏ธ Setup
- ๐ Reference
Me
- โ๏ธ Client
- ๐ Search
- ๐ Profile
- ๐ Social
- ๐ฅ Group names
- ๐ฌ Comments
- ๐ค Account
Me.get_uuid()
Me.get_saved_contacts()
Me.get_unsaved_contacts()
Me.block_profile()
Me.unblock_profile()
Me.block_numbers()
Me.unblock_numbers()
Me.get_blocked_numbers()
Me.upload_random_data()
Me.suspend_account()
Me.delete_account()
Me.add_contacts()
Me.remove_contacts()
Me.add_calls_to_log()
Me.remove_calls_from_log()
- ๐ Location
- ๐ Notifications
- โ๏ธSettings
- ๐ฉ Advanced
- โ Raw
- ๐ Auth
- ๐ค Account
add_calls_raw()
add_contacts_raw()
block_numbers_raw()
block_profile_raw()
delete_account_raw()
get_blocked_numbers_raw()
get_my_profile_raw()
get_profile_raw()
phone_search_raw()
remove_calls_raw()
remove_contacts_raw()
suspend_account_raw()
unblock_numbers_raw()
unblock_profile_raw()
update_fcm_token_raw()
update_profile_details_raw()
upload_image_raw()
- ๐ Social
add_social_token_raw()
add_social_url_raw()
approve_comment_raw()
ask_group_rename_raw()
block_comments_raw()
delete_comment_raw()
delete_group_raw()
friendship_raw()
get_comment_raw()
get_comments_raw()
get_deleted_groups_raw()
get_groups_raw()
get_my_social_raw()
get_news_raw()
ignore_comment_raw()
like_comment_raw()
locations_shared_by_me_raw()
locations_shared_with_me_raw()
numbers_count_raw()
publish_comment_raw()
remove_social_raw()
report_spam_raw()
restore_group_raw()
share_location_raw()
stop_shared_locations_raw()
stop_sharing_location_raw()
suggest_turn_on_comments_raw()
suggest_turn_on_location_raw()
suggest_turn_on_mutual_raw()
switch_social_status_raw()
unlike_comment_raw()
update_location_raw()
who_deleted_raw()
who_watched_raw()
- โ๏ธSettings
- ๐ Notifications
- ๐ Models
- ๐น Base model
- ๐ Profile model
- ๐ง User model
- ๐ค Contact model
- ๐คฒ Common model
_CommonMethodsForUserContactProfile
_CommonMethodsForUserContactProfile.as_vcard()
_CommonMethodsForUserContactProfile.block()
_CommonMethodsForUserContactProfile.friendship()
_CommonMethodsForUserContactProfile.get_comments()
_CommonMethodsForUserContactProfile.get_profile()
_CommonMethodsForUserContactProfile.report_spam()
_CommonMethodsForUserContactProfile.unblock()
- ๐ฅ Group model
- ๐ฑ Social model
- ๐ฌ Comment model
- ๐ Watcher model
- โ Deleter model
- ๐ค Friendship model
- ๐ Notification model
- โ๏ธ Settings model
- ๐ซ BlockedNumber model
- ๐ MutualContact model
- ๐ Others
- ๐ Credentials Manager
- โ Exceptions
MeApiException
IncorrectPwdToken
NewAccountException
UnfinishedRegistration
PhoneNumberDoesntExists
IncorrectActivationCode
MaxValidateReached
BlockedMaxVerifyReached
ActivationCodeExpired
SearchPassedLimit
ProfileViewPassedLimit
UserCommentsDisabled
UserCommentsPostingIsNotAllowed
CommentAlreadyApproved
CommentAlreadyIgnored
BlockedAccount
ForbiddenRequest
MeException
NotValidPhoneNumber
NotValidAccessToken
NotLoggedIn
NeedActivationCode
ContactHasNoUser
FrozenInstance
BrokenCredentialsManager
- ๐ Examples
๐ Social:#
๐ฑ Get user social networks: facebook, instagram, twitter, spotify and more
โ๏ธ See how people call you
๐ Get mutual contacts
๐ See who watched your profile
๐ See who deleted you from his contacts book
๐ฌ Get, publish and manage comments
๐ Get users location
๐ Read app notifications